kalle on Nostr: Thanks for the recommendation. It seems to support a whitelist. From sample ...
Thanks for the recommendation. It seems to support a whitelist. From sample config\.toml:
```
[authorization]
# Pubkey addresses in this array are whitelisted for event publishing.
# Only valid events by these authors will be accepted, if the variable
# is set.
#pubkey_whitelist = [
# "35d26e4690cbe1a898af61cc3515661eb5fa763b57bd0b42e45099c8b32fd50f",
# "887645fef0ce0c3c1218d2f5d8e6132a19304cdc57cd20281d082f38cfea0072",
#]
# Enable NIP-42 authentication
#nip42_auth = false
# Send DMs (kind 4 and 44) and gift wraps (kind 1059) only to their authenticated recipients
#nip42_dms = false
```
Published at
2024-08-27 09:15:41Event JSON
{
"id": "e1bae0d3e23e59baaa008e9bdf483fa7156c98d379bcd6b87dcb93587f88b791",
"pubkey": "4149bd2ca7c08ab6321dc1f54176c78acd295daa2030dca04e8010ad992e714d",
"created_at": 1724750141,
"kind": 1,
"tags": [
[
"e",
"7a825f88733269466e3c74487a7db2de1c72504fcf150c6a521124aa6cc4fa4a",
"",
"root"
],
[
"e",
"77e56bd02cd486bba9786322ffa3bb45e176205b16eb0ebe8fb51bb83d8ee40b"
],
[
"e",
"373f0e58ab77b6c13ced612a35016e95bc394b1ece089678bebd6953cfb80731",
"",
"reply"
],
[
"p",
"8685ebef665338dd6931e2ccdf3c19d9f0e5a1067c918f22e7081c2558f8faf8"
],
[
"p",
"0aa39e5aef99a000a7bdb0b499158c92bc4aa20fb65931a52d055b5eb6dff738"
],
[
"t",
"pubkey_whitelist"
],
[
"t",
"nip42_auth"
],
[
"t",
"nip42_dms"
]
],
"content": "Thanks for the recommendation. It seems to support a whitelist. From sample config\\.toml:\n\n```\n[authorization]\n# Pubkey addresses in this array are whitelisted for event publishing.\n# Only valid events by these authors will be accepted, if the variable\n# is set.\n#pubkey_whitelist = [\n# \"35d26e4690cbe1a898af61cc3515661eb5fa763b57bd0b42e45099c8b32fd50f\",\n# \"887645fef0ce0c3c1218d2f5d8e6132a19304cdc57cd20281d082f38cfea0072\",\n#]\n# Enable NIP-42 authentication\n#nip42_auth = false\n# Send DMs (kind 4 and 44) and gift wraps (kind 1059) only to their authenticated recipients\n#nip42_dms = false\n```",
"sig": "2d21fd4e1e09fc94965496d457aae9d0be6497eab322ed261b474c8d0bb4ce4f919254e102d016262a67b9fe169d44453003a214120ce01a76dcc83fcf78fad6"
}