How to know the public keys used to encrypt a .gpg file?

José Pires's Avatar

José Pires

23 Nov, 2023 03:42 PM

GPG Keychain

Version 1.12 (1800)

How to know which public keys were used to encrypt a .gpg file?

  1. Support Staff 1 Posted by Steve on 23 Nov, 2023 04:27 PM

    Steve's Avatar

    Hi José,

    welcome to the GPGTools support platform. Sorry that GPG Suite is causing problems for you.

    In order to find out which keys were used to encrypt a certain file you can use the following command:

    gpg --list-packets path_to_file.txt.gpg

    Let me know if that worked.

    All the best,

  2. 2 Posted by Jose Pires on 23 Nov, 2023 05:19 PM

    Jose Pires's Avatar

    Hi Steve, it worked fine. Thanks

  3. Support Staff 3 Posted by Steve on 23 Nov, 2023 05:32 PM

    Steve's Avatar

    Glad this is solved for you. I'm closing this discussion. Should you need further assistance or have questions you can re-open this discussion here or open a new one any time.


  4. Steve closed this discussion on 23 Nov, 2023 05:32 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac