Results 1 to 2 of 2

Thread: Trouble with verifying iso - cannot open gpg file

  1. #1
    Join Date
    Jan 2016

    Trouble with verifying iso - cannot open gpg file

    I’m still relatively new to the CLI and trying to make myself use it more, although I'm not sure this is really a CLI issue or not. I'm currently stuck on step 2 of the instructions for verifying an .iso given here:

    Step 2 indicates a user can determine what key is needed for verification by executing

    gpg --verify SHA256SUMS.gpg SHA256SUMS
    According to the instructions, I should receive something like

    gpg: Signature made Wed 11 Nov 2015 20:08:10 GMT using RSA key ID EFE21092
    gpg: Can't check signature: public key not found
    However, when I do this I get the following

    gpg: can't open 'SHA256SUMS.gpg'
    gpg: verify signatures failed: file open error

    I can confirm both SHA256SUMS.gpg and SHA256SUMS files are on my local machine, located in the same directory.

    What does this terminal result mean? How can I proceed?

  2. #2
    Join Date
    Sep 2011

    Re: Trouble with verifying iso - cannot open gpg file

    Try giving the explicit path/filename, not just the filename. Like:
    gpg --verify /path/to/this/SHA256SUMS.gpg /path/to/this/SHA256SUMS
    I don't believe you even need the second argument unless the names don't match. But I could be mistaken.

    If that still doesn't work, check to be sure you have read permission on both files.

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts