Armor/ASCII added to newest version?

semitribe's Avatar


03 Apr, 2012 08:38 AM

Accidentally made this a private discussion first, so reposting it as a public one in hopes for a response.

I'm trying to encrypt text files using GPGServices but I'm running into the problem that it's creating binary encrypted files instead of ASCII files with content that can be copy and pasted. Looking in the support forum this issue has been brought up recently (, but I'm wondering if a fix has been added to the newest Mac OS version? Just downloaded it today but can't find any box to tick to add armor for ASCII encryption.

If it hasn't been added, can anyone give me an alternative way to get ASCII encryption on Mac OS?


  1. Support Staff 1 Posted by Luke Le on 03 Apr, 2012 08:52 AM

    Luke Le's Avatar

    Hi semitribe,

    unfortunately we haven't added that feature yet from what I can see,
    but I could send you a version which allows you to set a preference for the output format.
    Yet I wonder, what you're needing it for, so maybe we can find a better solution.

  2. 2 Posted by semisara on 03 Apr, 2012 10:28 AM

    semisara's Avatar

    Hi Luke,

    I've installed the nightly build posted on this thread (, but can't figure out how to set the preference for output format.

    I'd like to use ASCII instead because it's easier to paste PGP messages into emails and private messages online then it is to send an encrypted file.

  3. Support Staff 3 Posted by Luke Le on 03 Apr, 2012 01:25 PM

    Luke Le's Avatar


    I've just added an option to GPGServices to use ASCII armor for single file encryption.
    If multiple files are encrypted the binary output is still used, since ASCII doesn't make sense for a lot of files.

    You can enable ASCII armor using the

    Type the following two commands:
    defaults write org.gpgtools.gpgservices UseASCIIOutput -bool YES

    /System/Library/CoreServices/pbs -flush

    Unfortunately GPGServices doesn't immediately check the defaults file again, due to some strange behaviour of OS X Services.
    The fastest way to force the change is to logout.
    Otherwise it should work if you wait for 3 to 5 minutes.

    Hope that helps a little.

  4. 4 Posted by semitribe on 03 Apr, 2012 06:32 PM

    semitribe's Avatar

    Hi Luke,

    It works perfectly now, thank you! It would be good to give the option for ASCII and binary in a future version.

    Thanks again!

  5. Support Staff 5 Posted by Luke Le on 04 Apr, 2012 07:38 AM

    Luke Le's Avatar

    Great to hear!

    We'll most likely add the option if we find some time, but this
    was the quickest fix for now :)

    Closing this discussion. Feel free to open a new one anytime!

  6. Luke Le closed this discussion on 04 Apr, 2012 07:38 AM.

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