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`.

Replies (2)

阿甘's avatar
阿甘 2 years ago
It works when left authorized -keys empty, but Every time I added key to authorized_keys, seems it doesn’t work.🤔️