阿甘's avatar
阿甘 2 years ago
How to keep this proxy relay address private? Does anybody can connect to this proxy relay silently if they know the address ?

Replies (2)

In config.js, You put your public key in `authorized_keys` array. After restart, bostr will only allow users in `authorized_keys` to use the bouncer. However, You need to ensure that NIP-42 is supported in your client. Otherwise the bouncer will not doing anything for you during authentication. Additionally, You could enable internal NIP-42 for NIP-42 relays for your own use by inserting public & private key in `private_keys`.
阿甘's avatar
阿甘 2 years ago
Sorry, saw the configuration in the file. Can whitelist // For personal usage. Leaving this empty allows everyone to use this bostr instance. // NOTE: Requires NIP-42 on client. authorized_keys: [ // "pubkey-in-hex", // "npub ....", // .... ],