How can I convert this Linux Command in to MacOS executable one? (gpg related)

Viewed 25

This the command i'm trying to run:

    gpg --keyid-format long --verify SHA256SUMS.gpg SHA256SUMS

This is the output I am supposed to get:

    gpg: Signature made Thu Apr  5 22:19:36 2018 EDT
                    using DSA key ID 46181433FBB75451
gpg: Can't check signature: No public key
gpg: Signature made Thu Apr  5 22:19:36 2018 EDT
                    using RSA key ID D94AA3F0EFE21092
gpg: Can't check signature: No public key

This is the output I am getting:

    gpg: can't open 'SHA256SUMS.gpg': No such file or directory
gpg: verify signatures failed: No such file or directory

When I cd into the Download folder and try the same, I get:

    chs$ gpg --keyid-format long --verify SHA256SUMS.gpg SHA256SUMS
gpg: can't open signed data 'SHA256SUMS'
gpg: can't hash datafile: No such file or directory

Steps I have taken are making sure that the .gpg file and the software download are in the same folder. I have also tried replacing the sh256sum with sha -a 256 but get the response: command not found. I had gpgtools installed anyway, but also installed gnupg2 and coreutils via package manager but still no luck getting anywhere. I know that the paths i'm using are correct because I already checked the sha256 hash sum correctly

0 Answers
Related