sha 512 sigs

James's Avatar


01 Aug, 2012 06:25 PM

Is there an easy way to generate sha 512 signatures for keys in gig tools / keychain access ?

  • GPG Keychain Access Version 1.0b7 (1.0b7)
  • OS X version: 10.7.4
  • GPGTools Installer 25-Jul-2012
  1. Support Staff 1 Posted by Steve on 03 Aug, 2012 07:15 PM

    Steve's Avatar

    Hey James,

    could you elaborate some more? What are you trying to do? What steps have you tried so far?

    Not sure I understand, where you're heading right now.

    All the best, steve

  2. 2 Posted by James on 03 Aug, 2012 08:51 PM

    James's Avatar

    Hi Steve

    I'm basically trying to find a way to replicate the actions described here...

    In particular the effect of opening up the ~/.gnupg/gpg.conf file in a text editor and adding the line: "personal-digest-preferences SHA512", which is to cause signatures to begin with "-----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA512" instead of with "-----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1".

    I've tried manipulating the algorithm preferences in key-algorighm preferences menus, but it doesn't seem to have any effect. Not sure if this ought to do the trick and I've encountered a bug or if I'm missing something else entirely.


  3. 3 Posted by James Harris on 05 Aug, 2012 09:20 AM

    James Harris's Avatar

    Basically trying to replicate steps described here to generate a
    signature which will appear with "Hash: SHA512" instead of "Hash:
    SHA1" the algorithm preferences in keychain access does
    not seem to have this effect, although one would assume that it would...

  4. Support Staff 4 Posted by Steve on 11 Aug, 2012 05:14 PM

    Steve's Avatar

    Hey James, what you tried looks good.

    Please go to your gpg.conf file and enter the following:

    personal-digest-preferences SHA512 SHA384 SHA256 RIPEMD160 SHA1

    Does this help?

  5. 5 Posted by James Harris on 22 Aug, 2012 11:14 AM

    James Harris's Avatar

    Thanks for this
    Trouble is that as far as I can see, in Mac Os Lion, there is no config file...
    I've seen some instructions on how to create one, but these seem to assume a level of unix knowledge beyond mine.
    Any ways around this or usable instructions would be really appreciate.

  6. Support Staff 6 Posted by Luke Le on 22 Aug, 2012 06:24 PM

    Luke Le's Avatar

    Hi James,

    follow these steps:

    1.) Open
    2.) Press Cmd + Shift + G
    3.) Type ~/.gnupg (it's a hidden folder, that's why you don't see it.) and press enter
    4.) You should see your gpg.conf file

  7. 7 Posted by James Harris on 22 Aug, 2012 07:26 PM

    James Harris's Avatar

    Thanks so much Luke - that did the trick - thanks both

    I did used to know that trick for finding hidden folders but I thought it had gone in snow leopard for some reason!



  8. Support Staff 8 Posted by Steve on 22 Aug, 2012 07:29 PM

    Steve's Avatar

    Hey James,

    no worries. Glad it was that simple to resolve.

    All the best,

  9. Steve closed this discussion on 23 Sep, 2012 03:16 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