how to generate-admin-key.js ? (hint node)
-
While I doing my initial checkup
I would like to mention that if you want to run the script./scripts/generate-admin-keys.jsas recommended in the doc
Support mailbox initialization
You can configure a support mailbox in order to give users of your CryptPad instance a way to contact you securely if they have an issue with their account.
Your server is not yet configured to have a support mailbox. If you want a support mailbox to receive messages from your users, you should ask your server administrator to run the script located in "./scripts/generate-admin-keys.js", then store the public key in the "config.js" file and send you the private key.don't forget to call it with node like this:
node ./scripts/generate-admin-keys.jsas mentionned here. -
While I doing my initial checkup
I would like to mention that if you want to run the script./scripts/generate-admin-keys.jsas recommended in the doc
Support mailbox initialization
You can configure a support mailbox in order to give users of your CryptPad instance a way to contact you securely if they have an issue with their account.
Your server is not yet configured to have a support mailbox. If you want a support mailbox to receive messages from your users, you should ask your server administrator to run the script located in "./scripts/generate-admin-keys.js", then store the public key in the "config.js" file and send you the private key.don't forget to call it with node like this:
node ./scripts/generate-admin-keys.jsas mentionned here.@JOduMonT thanks, that's really helpful

To add the key to the config.js, I added this code below the admin keys part (it can go anywhere though):
supportMailboxPublicKey: [ "~~~YourPublicKeyHere~~~", ],The snippet in context looks like:
adminKeys: [ //"[cryptpad-user1@my.awesome.website/YZgXQxKR0Rcb6r6CmxHPdAGLVludrAF2lEnkbx1vVOo=]", ], supportMailboxPublicKey: [ "~~~YourPublicKeyHere~~~", ], /* ===================== * STORAGE * ===================== */And then just restart the app

Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login