Questions tagged [gpg]

GnuPG (aka GPG) is an implementation of the OpenPGP encryption standard.

Filter by
Sorted by
Tagged with
1 vote
1 answer
23 views

Decrypting with gnupg just halts and does not work

I couldn't find a solution to this: I cannot decrypt my precious files anymore (on my main computer). I am using pass which relies on gnupg. Trying to decrypt a file just halts and doesn't give any ...
stewo's user avatar
  • 131
2 votes
0 answers
342 views

pinentry-mac fails to store password in Keychain

I'm using gpg to sign my git commits. I'm using pinentry-mac to store the password in the Keychain. This works fine on most macs. But I have one mac mini on which I get prompted again for the password ...
Klas Mellbourn's user avatar
1 vote
1 answer
755 views

gpg-agent running but command line tools missing

When I was trying to configure my gpg-agent, there were was no command line tool i.e. /usr/local/bin/gpg-agent doesn't exist (nor does it exist in the other dirs in my PATH variable: /usr/local/bin:/...
user876164's user avatar
0 votes
1 answer
307 views

Outdated gpg version on Big Sur

It seems that the the current gpg installed on Big Sur is a bit outdated compared with the one bottled from homebrew. gpg --version gpg (GnuPG/MacGPG2) 2.0.30 libgcrypt 1.7.0 Copyright (C) 2015 Free ...
Kirk Walla's user avatar
0 votes
1 answer
601 views

Why GPG does not ask me for password when using a private key?

I have used GPG on Windows and Linux and they always ask me for password to unlock a private key. Sometimes they cache a password inside the agent, but after each restart I have to enter a password at ...
Gigi's user avatar
  • 101
1 vote
1 answer
266 views

GPG constantly throwing "no such file or directory" when doing operations

So I want to create a GPG so I can use it. I did gpg --gen-key, put in the information but it threw theNo such file or directory error (see below). ❯ gpg --gen-key gpg (GnuPG) 2.3.1; Copyright (C) ...
oof2win2's user avatar
0 votes
1 answer
853 views

Starting with gpg under macOS

I'm a Linux/Windows user but in the near future, I might have to support users running macOS on questions related to file encryption/decryption using GPG. I have to provide support without having my ...
Ray's user avatar
  • 125
3 votes
1 answer
2k views

pinentry-mac: disable Keychain storage

I'm using pinentry-mac with openfortivpn, to prompt for passwords and tokens. I installed both using Homebrew. However, there's a button in the pinentry dialog to save to the keychain, and it's ...
JW.'s user avatar
  • 544
0 votes
1 answer
2k views

How can I fix the gpg-agent: Bad CPU type problem?

If I log in my account (osx 10.15.6), I get from the start-gpg-agent.app an error message: error "sh: /usr/local/bin/gpg-agent: Bad CPU type in executable" number 126 How can I fix it? Apple ...
Gerd's user avatar
  • 191
1 vote
1 answer
274 views

Issues compiling GnuPG: ./configure: command not found

I wanted to install GnuPG by compiling the binaries but I'm stuck on the second dependancy, libgpg-error. I'll check the obvious tomorrow and shasum the tarball, re-download it (etc) but I'm hoping I ...
TimD's user avatar
  • 698
0 votes
0 answers
100 views

GPG asks for Passphrase for new key

I want to know what to do after forgetting a passphrase. I've deleted and revoked all keys and made a new one but I was hoping that the passphrase would reset for me. to make a newer one. Do I need to ...
user avatar
1 vote
0 answers
42 views

How can encrypted Apple DMGs be so fast to open?

On remote drive I have an encrypted .dmg and the same files in a gpg encrypted tar file. The DMG opens within seconds, but to access the tar file, I first need to decrypt it, in this 10 minutes, and ...
OrigamiEye's user avatar
0 votes
1 answer
149 views

Cannot enable or disable Mail plug-ins

I have two Mail.app plug-ins installed: "GPGMailLoader.mailbundle" and "Smallcubed MailSuite.mailbundle". Currenly, GPG is enabled, and works, and MailSuite is disabled. However, when I toggle ...
Cai's user avatar
  • 1,046
0 votes
2 answers
379 views

Sync GPG ~/.gnupg dir between multiple Macs? (MacGPG)

I have GPG Suite 2020.1 installed on 2 computers, both running macOS 11.0.1. I would like to sync my GPG keychain and config files between them, so that adding/trusting a key on one machine is ...
luckman212's user avatar
  • 2,387
5 votes
0 answers
590 views

How to configure Xcode to fetch swift dependencies over ssh using a private key which is stored on a Yubikey ( HSM , gpg --card-status )

Problem currently is that I find no way to simply configure or instruct Xcode to check out source code or dependencies over git+ssh using ssh agent. Does Xcode at all supports using the ssh-agent? ...
norrs's user avatar
  • 151
3 votes
1 answer
3k views

gnupg not found

I am trying to install rvm. But I don't have gnupg/gpg installed. So I tried to install it using brew: brew install gnupg But after it's installed (verified by brew list), I cannot use gnupg. which ...
Eisenheim's user avatar
  • 133
7 votes
1 answer
856 views

How do I use my GPG agent for SSH everywhere?

On my system, I'm trying to set up SSH authentication through my GPG agent (installed via brew). So far, I have this working in my terminal thanks to adding the following lines to ~/.profile: # ...
Kaz Wolfe's user avatar
  • 460
0 votes
0 answers
55 views

Which software should I download to generate GNU GPG Key on mac?

I am registering to Keybase and they need GNU GPG Key. I uploaded the SSH one but it did not work. Can you help me in this regard?` I am using 10.11.6
Volatil3's user avatar
  • 515
5 votes
0 answers
232 views

pinentry implementation with fingerprint sensor support

Currently, I am using Pinentry Mac from Xcode on my system to sign git commits. For this, I am having to input my passphrase each time I am waiting to sign a commit. Seeing that my MacBook Pro has a ...
Empty2k12's user avatar
2 votes
0 answers
87 views

Use PGP domain key for email encryption in Apple Mail

I want to send a PGP encrypted email to someone let's say has the email address [email protected] The company provides a so called domain key for all email adresses that end on @example.com. I ...
connexo's user avatar
  • 121
15 votes
2 answers
7k views

GPG key generation - timeout on OSX due to lack of entropy

I'm trying to generate a series of GPG keys gpg --gen-key but coming up with the same error that there's not enough entropy to generate a set. We need to generate a lot of random bytes. It is a good ...
juliushibert's user avatar
4 votes
1 answer
5k views

install gpg with homebrew

I want to install a new version of ruby via rvm. To install that, I need gnupg2. I installed it using brew, but it could not be linked. I get the following error message when linking with brew link ...
McLawrence's user avatar
13 votes
1 answer
6k views

gpg2: Warning: using insecure memory!

As of today, whenever I use gpg2 (installed via Homebrew) on my Mac (10.12.1), I now see the following warning: Warning: using insecure memory! For what it's worth, I'm seeing this same behavior on ...
Adam Liter's user avatar
3 votes
1 answer
1k views

gpg-agent stopped working

I have been successfully using the gnupg21 package from MacPorts for several months. Within the past few days I updated my MacPorts installation (sudo port -d selfupdate) and then made sure I was up ...
sbooth's user avatar
  • 198
2 votes
1 answer
2k views

pgp on macOS 10.12, Sierra

Rrunning macOS 10.12, Sierra, on my secondary Mac and am fairly happy with stability and all that. Nonetheless the one thing bugging me to the max is the incompatibility of GPGTools. I know that it ...
Joachim Rady's user avatar
2 votes
1 answer
984 views

SSH keybased authentication using smartcard

I originally posted this on Information Security but am hoping to attract an answer here since this is OSX specific. So I'm fairly new to more secure forms of key management, I've been used to ...
MSB's user avatar
  • 121
12 votes
2 answers
20k views

How to use GUI pinentry program for GPG

I would always like to use the GUI version of entering my GPG passphrase. Currently my pinentry program is set the same on my laptop as my desktop. But the desktop always asks for my passphrase on the ...
Jason's user avatar
  • 1,649
0 votes
1 answer
68 views

KeyChain Access and GPG Keychain - should those be running simultaneously?

I have installed GPG Suite and found out also during this time that my OS X has some app that stores all my passwords under my screenlock password - total news to me. Can I get rid of Apple app if I ...
user avatar
0 votes
1 answer
414 views

How to install gpg without Admin password

I have a monitored OS X laptop that I would like to put GNU Privacy Guard (gpg) on. Of course I can't because I don't have Admin rights, but I was hoping there is a way to install it in user space ...
Dan's user avatar
  • 103
1 vote
1 answer
868 views

Brew install fails on gpg-agent?

Is there another way to get gpg-agent in? I need GPG2 signing for RVM in order to provision a server. The message bash-4.3$ brew install --vd gnupg2 ==> Installing dependencies for gnupg2: gpg-...
ehime's user avatar
  • 263
3 votes
0 answers
281 views

Is there a PGP/GPG Plugin for TextWrangler?

Is there a PGP/GPG plugin for TextWrangler? If so, what is it called and how do I go about downloading and installing it?
Agi Hammerthief's user avatar
12 votes
2 answers
7k views

GUI PGP / GnuPG application

I encrypt all of my documents before storing them in the cloud with GnuPG. My wife needs access to the documents, but running gpg -d foo.pdf.gpg at the command line is annoying to her. Does anyone ...
Josh Glover's user avatar
2 votes
0 answers
355 views

Homebrew-compiled gpg-agent fails, gpg: cancelled by user

I'm trying to get gpg-agent working on OS X, compiled with homebrew. Here's my gpg-agent.conf: djc@djc-mbp ~ $ cat .gnupg/gpg-agent.conf pinentry-program /usr/local/bin/pinentry-curses no-grab ...
djc's user avatar
  • 171
3 votes
1 answer
13k views

Cannot decrypt GPG file after installing GPG Suite from GPG Tools

I have installed GPG Suite by GPG Tools on my Mac. I sent my public key to my associate, who encrypted a file and sent it to me. The file, myfile.gpg is now sitting on my desktop and I'm told by my ...
Swisher Sweet's user avatar
1 vote
1 answer
527 views

How can I remove GPG-AGENT setting from Enigmail?

In the Enigmail preferences, I checked the option of using GPG-AGENT and afterwards that option disappeared completely from the preferences pane. I am now unable to use the encryption since there is ...
vkumar's user avatar
  • 111
15 votes
1 answer
2k views

Default email signing with OS X Mail

I have both a GPG key and an SSL certificate. I am able to sign emails by choosing OpenPGP or S/MIME in the upper right corner of the window: I can then activate the signing by clicking the ...
Matteo's user avatar
  • 8,705
40 votes
7 answers
39k views

Email encryption options on an iPhone

I've started taking security more seriously lately. (Why only now you may ask? Because I'm a trusting fool that's why.) I've now got emails signing automatically and encrypting where I have their key. ...
SimonJGreen's user avatar
2 votes
1 answer
3k views

Running a gpg shell script to decrypt a file via Automator

I regularly need to decrypt a gpg-encrypted file (always the same) to simply view it in TextEdit. I have a very simple shell script for that. It looks like this: #!/bin/sh outfile=`mktemp -t $$` # ...
Dominique's user avatar
  • 362