Upgrade v1 - v2: Where do I find keys?

Hello

I just ran into small issue while backuping privatekey, when i use

gpg --export-secret-key -a “passbolt user” > private.key

I get gpg: WARNING: nothing exported and empty file

When i try
gpg --export-secret-key -a > private.key

I get nice file with readable key:
–BEGIN PGP PRIVATE KEY BLOCK-----
Version: GnuPG v1}

When i try
gpg --export-secret-key > private.key

I get unreadable file:
�^C�^DY���^A^H^@��̡��+}^L��

I am just very vary since it was inherited to me, so iam trying to figure out what is right

Hello,

First of all passbolt works with the armored format of the gpg keys, so the -a options is the good one.

To identify the key you want to export you can run the following command gpg -K --with-fingerprint, once identified, you can use the fingreprint/keyId/email of the key you want to export.

Cheers

However you should find your gpg server key inside the app/Config/gpg folder.

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.