GPG Services: how to create binary signatures

stefanomarty's Avatar

stefanomarty

24 Nov, 2019 03:11 PM

Which of our tools is giving you problems?

GPG Service

Attach a screenshot of the version info for all installed components (how to: https://gpgtools.tenderapp.com/kb/faq/where-can-i-find-version-info...):

I just updated to GPG_Suite-2019.2

Describe your problem. Add as much detail as possible.

The standard output for GPG Services signatures is ASCII Armor. According to this article:
https://gpgtools.tenderapp.com/kb/gpg-services-faq/gpg-services-exp...
the default can be switched off and set back to binary. I tried the suggested commands, but I still get ASCII armor signatures.

What did you expect instead

I expected a signature in binary form.

Describe steps leading to the problem.

  1. Modify the standard output with this command in terminal:

    defaults write ~/Library/Preferences/org.gpgtools.gpgservices UseASCIIOutput -bool NO
    
  2. Verify the parameter is changed:

    defaults read ~/Library/Preferences/org.gpgtools.gpgservices UseASCIIOutput
    0  <-- OK
    
  3. Sign a random file in Finder
    Select the key
    Insert passphrase

  4. Check the signature file
    I expected a binary file.txt.sig file, but I still get an ASCII armor file, even with the parameter set to zero.

Are you using any other Mail.app plugins?

Nope.

  1. Support Staff 1 Posted by Mento on 13 Dec, 2019 10:16 AM

    Mento's Avatar

    Hello,

    the UseASCIIOutput option only affects file encryption, not signatures.
    By defaults GPG Services uses the binary mode, when it encrypts a file. By setting UseASCIIOutput to YES, the encrypted file are stored using ASCII armor.

    There is currently no option to tell GPGServices to create detached binary signatures.

    Regards, Mento

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? 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