Results 1 to 2 of 2

Thread: Trouble with verifying iso - cannot open gpg file

  1. #1
    Join Date
    Jan 2016
    Beans
    3

    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:

    https://help.ubuntu.com/community/VerifyIsoHowto


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

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

    Code:
    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

    Code:
    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
    Beans
    615

    Re: Trouble with verifying iso - cannot open gpg file

    Try giving the explicit path/filename, not just the filename. Like:
    Code:
    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

Bookmarks

Posting Permissions

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