What is the difference between p / p.pkr and .key in relation to PGP?

I am working on PGP encryption / decryption using a "bouncycastle". Encrypt, I understand that I need a public key. I have a text file that should be a public key. Should I rename it as .pkr or .key? What is the difference between 2 degrees? Does the "bouncycastle" api support the decryption extension? Also, to decrypt the file I need, a .skr or .key file?

+1
source share
1 answer

No difference - it's just file extensions.

Expansion

.pkr " ", .skr " ", .. , ( PGP)..key , , , .

( bouncycastle) .pkr .key_with_public_key ( ).

.

+2

Source: https://habr.com/ru/post/1532737/


All Articles