From 3d78e91f62291950bdc08bcabf67eb2d49da3d2f Mon Sep 17 00:00:00 2001 From: fiatjaf Date: Tue, 6 Aug 2024 10:56:06 -0300 Subject: [PATCH] bunker: deny getPublicKey() even though it's harmless. fixes https://github.com/fiatjaf/nak/issues/27 --- bunker.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bunker.go b/bunker.go index 7d8a1c8..5de6ec6 100644 --- a/bunker.go +++ b/bunker.go @@ -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 {