On Openpgp.js, in order to generate the encryption keys, the name
and the email
properties are mandatory:
await generateKey({ curve: 'brainpoolP512r1', userIDs: [{ name: 'Test', email: 'test@test.com' }] });
In a project I'd like to use OpenPGP for a different scenario where there will be no name
or email
, each pair of keys would be linked to an internal id
in the database.
In this project I just need to encrypt and sign messages.
My question is: Is OpenPGP best suited for just signing and encrypting messages with out any user information?