bunker: deny getPublicKey() even though it's harmless.

fixes https://github.com/fiatjaf/nak/issues/27
This commit is contained in:
fiatjaf 2024-08-06 10:56:06 -03:00
parent 84965f2253
commit 3d78e91f62

View File

@ -177,7 +177,7 @@ var bunker = &cli.Command{
}()
}
return harmless || slices.Contains(authorizedKeys, from) || slices.Contains(authorizedSecrets, secret)
return slices.Contains(authorizedKeys, from) || slices.Contains(authorizedSecrets, secret)
}
for ie := range events {