GNU Privacy Guard (GnuPG or GPG) is a GPL Licensed alternative to the PGP suite of cryptographic software. GnuPG is compliant with RFC 4880, which is the current IETF standards track specification of OpenPGP.

learn more… | top users | synonyms (1)

1
vote
0answers
20 views

Getting BAD Signature when verifying Linux Mint .iso image

I've been attempting to install Linux Mint 18 on a hard drive for a while now, but I continuously run into an error when I try to use gpg --verify. The exact error is as follows: $ sudo gpg --verify ...
0
votes
0answers
6 views

GPG4Win + Enigmail = The key ID <email address> configured for the current identity does not yield a usable OpenPGP key. How to resolve?

I am setting up a Windows computer with PGP - GPG4Win, Thunderbird, Enigmail. Everything works successfully, until I am trying to encrypt a message. This error message appears: The key ID ...
0
votes
1answer
12 views

gnupg: Use specific key for symmetric encryption of stdin

I'm looking for a way to use gpg2 to symmetrically encrypt stdin and send it to stdout. echo "Unencrypted" | gpg2 -d -symmetric klgkljfgkls... [encrypted] I could not figure out how to specify ...
0
votes
0answers
10 views

Turning off GPG debug flags on Windows 10

I don't know how the GPG debug flags are activated, I wanted to turn them off, but the manpage does not seem to have a easy-to-find way to turn them off. I believe DBG: prefixed messages are debug ...
0
votes
0answers
9 views

Add an existing key as a subkey to a GPG key

I’m trying to create a signing key for a team. For this, I was thinking of creating a master (team) key, and add all the members’ keys as subkeys. Is this possible/secure, or am I totally on a wrong ...
0
votes
0answers
6 views

Can Binary GPG Files Store Custom Attributes?

In my current backup scheme, I TAR the files I want to back up with the data, time stamps, and permissions. But I want to reduce the number of I’m more interested in the timestamps since that tells ...
0
votes
1answer
17 views

Synchronize GnuPG 1.4 and GnuPG 2.1 keychains

While importing my keys to GnuPG on a new system, I considered the following: Question Is it possible to synchronize the gpg and gpg2 (gpg2.1) keychains? Is it wise to do so? Considering I ...
0
votes
0answers
9 views

How to change GPG4Win default program alghoritms?

How to change all 3 default algorithms in GPG4Win? I mean Symmetric cipher for AES256, Compression to ZIP and Digest algorithm. But not in keys - in program defaults using cmd. Please provide exact ...
1
vote
0answers
32 views

How to remove incorrect password for file symmetrically encrypted with GPG

I used Emacs to encrypt a text file with a symmetric key. When decrypting the file, the program pinentry opens a window for password entry. I accidentally clicked the checkbox for "save in password ...
0
votes
1answer
20 views

PGP not decrypting when using gpg4win

I have set up the GPGTools on OS X 10.11 and they work perfectly fine in Apple Mail, as I have verified by testing with two of my email addresses. Even in Outlook 2016 with the gpg4win plugin on my ...
2
votes
2answers
20 views

How to send an encrypted message to a user with an expired OpenPGP key?

I have a friend who has an OpenPGP key and I was enjoying to have someone to write encrypted mails to. However, after 3 years his key just expired last month and now Thunderbird (with Enigmail plugin) ...
1
vote
1answer
45 views

New .gnupg directory: Import old secret keys into new install

I've reinstalled my OS (Ubuntu 16.04) and have an old .gnupg directory containing: gpg-agent.conf gpg-agent-info-<hostname> gpg.conf private-keys-v1.d pubring.gpg secring.gpg S.gpg-...
1
vote
0answers
21 views

When adding a gpg key with homedir parameter error

When adding a key using the cmd Gpg2 –-homedir . –-gen-key And Im getting the error Can’t connect to the agent: Invalid value passed to IPC This is something to do with the homedir parameter ...
1
vote
1answer
22 views

Github not verifying with OpenPGP key?

I generated a public/private key pair using GnuPG (following Github's instructions) and am getting the following error when trying to push my commit to a newly created repository: git push origin ...
3
votes
1answer
37 views

Are OpenPGP-encrypted files vulnerable to data corruption?

I have used GnuPG to encrypt some long-term backups, but I am concerned whether over time data corruption might make it impossible to recover the archives. Can you decrypt partially corrupted OpenPGP ...
0
votes
0answers
24 views

Usage of gpgtar.exe on windows

i want to use gpgtar.exe from command line to pack some files in a archive and then encrypt them using gpg.I am using gpg4win 2.3.1 on windows server 2008 R2 and since this process is automated from a ...
1
vote
1answer
13 views

GnuPG keeps looking for my dead smart card

My smart card died (physically). I made offline backups of my keys, and those are successfully imported back into GnuPG. However, it keeps asking for the key whenever I try to decrypt using the keys. ...
1
vote
0answers
79 views

FreeBSD install PECL php7

I want to active the gnupg extension for php7. But I can't find a package for pecl for php7. Does anyone know a way to install pecl for php7 or how to activate gnupg without pecl?
0
votes
1answer
40 views

GPG2 Encryption - No public key error

When I generate my keys using gpg2 --gen-key and then I try to try to encrypt the file using gpg2 --batch --yes -r myemail@test.com --always-trust --homedir . -e test.text I get an error "...
0
votes
1answer
19 views

Is my GPG key the same as my public key?

I'm trying to set up pass on OSX. The installation instructions say to run: pass init "ZX2C4 Password Storage Key" But I don't to my knowledge have a GPG public key. Do I need to set one up? I ...
0
votes
1answer
35 views

gpg does not ask for passphrase on one encrypted file

I have a test encrypted file on my computer that when I run gpg(2) --verify message.txt.asc I get: gpg: Signature made Tue Mar 3 21:16:41 2015 PST using RSA key ID ******* gpg: Good signature ...
2
votes
1answer
209 views

How can I restart gpg-agent?

Some changes in the GnuPG configuration demand a gpg-agent restart / reboot, but... How can I do that? I tried gpg-agent restart, service gpg-agent restart, but did not succeed.
0
votes
0answers
58 views

Duplicity encryption

As many of you likely know, duplicity is a software program primarily used on Linux operating systems for creating backups of your desktop environment. The software is known to use gpg to encrypt the ...
0
votes
1answer
26 views

Gpg4Win's Kleopatra can only store one keyserver

I want to push my public key to several key servers, but Kleopatra seems to accept only one key server. All attempts to add new key servers fail, in the sense that I can add, but whenever I press OK ...
0
votes
0answers
23 views

Why gpg show different uids in --list-keys and --list-secret-keys?

I had add an new uid, and revoke an old one, using --edit-key command. Here is my output (already replace email with "uidx"): ▶ gpg --list-keys; gpg --list-secret-keys /home/xxxx/.gnupg/pubring.gpg ...
0
votes
1answer
44 views

Extremely slow GnuPG 2.x Performance

I have an curious problem with my script. The script runs very fast ,when i use GnuPG 1.x. With GnuPG 2.x it runs very slow at encryption/decryption, and i have no idea why. Versions: GnuPG 1.4.20-6 /...
0
votes
2answers
156 views

“gpg2 not a key id: skipping” when trying to download public keys

I downloaded Ubuntu 16.04 to run on VirtualBox (Windows 10 host). I would like to verify the download (Ubuntu instructions). From the instructions: Tip: On non-Linux systems, you might need to ...
0
votes
1answer
25 views

procmail gpg --verify signature

Is there a recipe for procmail that I can use to verify a pgp signature?Almost like gpg --verify. I have looked at pgpenvelope but I'm not needing to check this in any kind of mail client.
1
vote
1answer
17 views

Where is my gpgconf file on Windows?

With GitHub's recent announcement that they're supporting GPG verification, I've decided to set up GPG on my machine. Unfortunately, every time I sign a commit, GPG outputs the following message ...
1
vote
1answer
9 views

How to specify exact matching in GnuPG 2.1's--quick-sign-key?

GnuPG 2.1 has the nice feature unattendded key-signing. However, its matching seems to be somewhat fuzzy. E.g, if I have two user IDs like 'Foo' and 'Foo Bar' on a key with fingerprint FPR, gpg --...
1
vote
0answers
34 views

Why won't gnupg be fooled by my pseudoterminal trick?

Gnupg requires many of its inputs to come literally from a terminal instead of just stdin. I sometimes can get around that with: pty-run: #!/bin/bash printf -v cmd '%q ' "$@" exec script --quiet --...
3
votes
1answer
150 views

Git can't invoke gpg-agent to sign commits

I have Git 2.8.1 running in Ubuntu 15.10, and I've set it up to GPG sign all of my commits using my keybase key. It used to work well. At one point, I'm not sure what caused it, I started getting ...
1
vote
1answer
22 views

Convert a public key to GPG readable format

For a backup scenario, I want to peform asymmetric encryption of the data. For this I'm using duplicati (2.0) paired with GPG. Now I have a smartcard (PKCS#11 / CSP interface via OpenSC) on which I ...
1
vote
2answers
21 views

Updating OpenPGP keyserver adding and removing identities

When adding new identities to my OpenPGP key, I can upload the public key to a keyserver for others to update their copy. Now, when I remove an identity, will the keyserver update to the new version ...
3
votes
1answer
125 views

Why does GPG not decrypt with all subkeys?

I have multiple subkeys for signing and encryption. Here is my public and private key list. jeremy@localhost ~ $ gpg -k /home/jeremy/.gnupg/pubring.gpg ------------------------------- pub 4096R/...
1
vote
1answer
45 views

How can I export my public GnuPG keychain into one block?

I'd like to send my entire public keychain to a friend of mine (and back it up for obvious reasons) and would like to export it into one single block, like GPA does. Bonus points if it's signed with ...
4
votes
1answer
54 views

Why is GnuPG asking for my passcode only when signing?

On my Mac, I had originally installed GnuPG using homebrew. Then I found GPGTools and started to use that because it is more user-friendly (OS hotkeys, so I can easily use encryption inside an email ...
1
vote
1answer
18 views

Another people's OpenPGP key in my computer?

Today, when I executed gpg --list-keys, I saw another people's key list here. I search in seahorse, but can not find it. Is this key stored in my pubring.gpg file? I only have one OpenPGP key for ...
2
votes
0answers
51 views

Duplicati uses symmetric encryption despite giving the recipient ID_key

I have a question regarding decrypt using gpg asymmetrically. I use duplicity encrypt copies asymmetrically. E.g: `Duplicati.CommandLine.exe backup s3://testduplicatigpg3 C:\Users\test\Desktop\tt --...
0
votes
1answer
157 views

How to install GnuPG on Debian/Kali Linux?

I would like to know how to install GnuPG on Debian (this case it's Kali). I understand you have to compile it, I can't find a pre-compiled version anywhere.
0
votes
1answer
52 views

How to query for all recipient OpenPGP keys with GnuPG?

I cannot find a reliable method for asking gpg the list of (public) keys used to encrypt a given file. One plausible solution doesn't work for me -- it never lists my key: gpg --list-only --no-...
0
votes
1answer
99 views

Enigmail constantly prompting for password

My Enigmail is constantly prompting for password when clicking on emails that have already been decrypted a second ago, switching between encrypted emails that have been decrypted. In the Enigmail ...
4
votes
1answer
131 views

Can't add ssh keys to gnupg-agent anymore

I had several old ssh keys in my ~/.gnupg/sshcontrol so I removed all lines in this file and rebooted my computer. Now, I can't add ssh keys to gpg agent anymore: $ cat ~/.gnupg/gpg-agent.conf ...
9
votes
3answers
1k views

Enigmail cannot communicate with gpg-agent

I've been using Thunderbird + Enigmail for years. I'm currently using Thunderbird 38.5.1, Enigmail version 1.9 (20160223-1641), and GPG 2.0.26 in my work PC (Ubuntu 15.04 64-bit, w/ Gnome Shell). A ...
0
votes
1answer
52 views

How to set a custom creation date for OpenPGP certificates?

Can I create an OpenPGP Certificate containing a custom creation (start validity) Date? I need to create an OpenPGP certificate today, but made it valid from next week only (for example). Using ...
0
votes
1answer
53 views

Is it possible to install GnuPG without admin rights on Windows 7?

I'd like to install GnuPG on my Windows 7 workstation, but since it's an office workstation, I don't have administrator rights. Is it still possible to install it without admin rights?
1
vote
1answer
153 views

GPG Passphrase + Secret Key tied encryption

I am looking for help to figure out how to tie a secret key with a passphrase to encrypt a file using GPG. I had tested many option (--encrypt, --sign, --recipient, --symmetric, etc), but in all of ...
0
votes
0answers
39 views

How do I enable GNOME keyring under alternative window managers?

I would like to save passwords in browsers such as Opera, but I would like to use it under WindowMaker or other WMs. I have noticed that under WindowMaker, my Opera passwords are not retrieved. How do ...
1
vote
2answers
38 views

Can PGP messages be verified with just the fingerprint of the public key?

What is the difference between sharing a public key and sharing just its 40-digit fingerprint? The public key is very long, so if I wanted someone to be able to verify my messages, could I just mail ...
1
vote
1answer
21 views

How do I find a complete GPG fingerprint when verifying a signature?

When I right-click a signature file and click More GpgEX Options -> Verify, it says it's valid, showing my email address and last 8 hex digits of my fingerprint. Doing Right-click then GPGshell -> "...