Show thread history
npub1g9ym6
Aug 27, 2024
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
```
```
[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
```
See translation
0
0
0
0
0