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)

2
votes
3answers
19 views

How do I verify a GPG symmetrically encrypted file?

I created an encrypted file with symmetric encryption. gpg -c 50GBfile Now I want to delete the original. Before I delete the original, I want to verify the integrity of the encrypted file. ...
0
votes
1answer
14 views

What's the standard (or accepted) method to use several encryption subkeys in GPG?

I would like to create for myself an offline main key with three subkeys. for signing for encryption on standard computer which I hope to be able to secure better for encryption (and consequently ...
0
votes
1answer
25 views

Script not working when run automatically

This script (parts of it) runs perfectly when invoked manually from the Terminal: #!/bin/bash [[ "`ps -e | grep -c $(basename $0)`" -gt "2" ]] && echo -e "`basename $0`: Mutiple instances ...
0
votes
1answer
27 views

Make SSH/gpg-agent not ask for passphrase for key it's not going to use

I have two SSH keys. id_rsa is my normal one with a passphrase, and id_lynx has no passphrase because I want it to be usable in a cron job (the user it logs in as is fairly restricted, don't worry ...
0
votes
2answers
30 views

Is there a way to revoke a GPG encryption key?

OK, so as I understand it, the key revocation mechanism is used to revoke a signing key in your web of trust: so you say to other GPG users that your previously-used identity has been compromised, and ...
0
votes
1answer
33 views

What is a GPG key ID?

After some google-fu and poking around on here, I'm still not clear on this. I understand the utility of the key block itself, and of a hash of the key, but I don't know why additional information ...
0
votes
1answer
66 views

How to ASCII-armor my public key without installing GPG?

I would like to upload my public key to a key server, but I already have my key infrastructure in place without GPG and I don't want to install extra software I don't need. Is there an easy way to ...
0
votes
1answer
39 views

Using systemd to start gpg-agent?

I've read up a little on systemd, but still can't quite figure out how to use it to automatically start gpg-agent on login. I gather I'd use systemctl --user, but constructing the gpg-agent.service ...
0
votes
0answers
27 views

How to set gpg2 as default implementation of gpg on debian?

My debian installation came with gpg 1.4.12, while I would like to be running 2.0.19. The former comes in the package gnupg and the latter gnupg2. They can coexist peacefully as far as I know, but I ...
0
votes
1answer
46 views

Errors generating gpg keypair

I posted this originally on stackoverflow, but was told that it was offtopic and this would be the better place to post it, so I am reposting it here and deleting my original topic. I have a rather ...
0
votes
1answer
51 views

How to handle Multiple OfflineImap with Gpg stored Passwords?

I am using Offlineimap with gpgp stored passwords. Pretty similar to this setup https://unix.stackexchange.com/questions/44214/encrypt-offlineimap-password My issue is this. I have multiple email ...
0
votes
0answers
25 views

What is the default symmetric algorithm for encrypting the secret key in GnuPG 1.4.11?

When generating a GPG key, you are asked for a pass-phrase that will correspond to the private key (or keys to be exact). My question is what is the default crypto algorithm for encrypting your key ...
5
votes
1answer
432 views

Programmatically determining who signed a file

I want to programmatically determine who has signed a GPG clear sign file. Running gpg --verify will tell me this, but it does so in a human-readable format. Is it possible to get this result in a ...
0
votes
1answer
138 views

Use PGP key with MS Outlook 2010

How do I use a PGP/GNUPG key to encrypt/decrypt emails sent using MS Outlook 2010? I understand the basics of PGP/GNUPG, and have a public/private key setup. I just want to know how to use this with ...
1
vote
1answer
60 views

Pass doesn't ask for passphrase

I am using pass (http://www.zx2c4.com/projects/password-store/) on ubuntu 12.04. Process: apt-get install pass gpg --gen-key pass init <generated gpg id> pass insert test pass test After the ...
1
vote
1answer
42 views

GPG fails to retrieve passphrase

When trying to do gpg (version 1) keygen on archlinux I get the following errors after details (other than passphrase) have been entered: You need a Passphrase to protect your secret key. pinentry: ...
0
votes
0answers
78 views

File Encrypted using Kleopetra, started showing error while decrypting?

I encrypted one of my text files with Kleopatra, which I have been using for 4 months. It was working fine, but since two weeks I'm getting an error when decrypting the file: Can not connect to GnuPG ...
3
votes
1answer
110 views

gpg with gpg-agent never asks for passphrase

Without gpg-agent running, I can enter my passphrase to sign things: $ echo 123 | gpg -s You need a passphrase to unlock the secret key for user: "Mr. Ops <ops@bxxx.com>" 2048-bit RSA key, ID ...
0
votes
0answers
19 views

Programmatically Determine if gpg-agent Will Ask for Passphrase

I have gpg-agent running with a cached passphrase for an hour or so. I encrypt my email account passwords for offlineimap IMAP sync utility and have the script pass in the passwords by decrypting ...
1
vote
1answer
20 views

Importing GPG Key

I am trying to import a GPG key to verify a download. I have never done this before, so bare with me. The Key ID is 4203454C. Let me know if you need any more information. What is the process for GPG ...
0
votes
0answers
43 views

Unable to sign message with Enigmail - No passphrase prompt

I have Thunderbird 24.4.0 and Enigmail 1.5.2 installed. My OS is Kubuntu 13.10 x64. gpg-agent version 2.0.20-1ubuntu3 gnupg version 1.4.14-1ubuntu2.1 pinentry-qt4 version 0.8.1-1ubuntu2 kgpg version ...
0
votes
1answer
19 views

In GnuPG, how do I set an absolute expiry date on my key?

In GnuPG I can edit the expiry of my key like this: $ gpg --edit-key 01234567 [...] gpg> expire Changing expiration time for the primary key. Please specify how long the key should be valid. ...
0
votes
0answers
35 views

How to use Unicode in “Real Name” bit of key?

GPG appears to support Unicode, but I can't get it to actually work % gpg --utf8-strings --display-charset utf-8 --edit-key king@example.com gpg (GnuPG) 1.4.15; Copyright (C) 2013 Free Software ...
1
vote
1answer
46 views

How do I use a long password with GnuPG?

I am using Arch Linux and GnuPG Linux ryantm0j132 3.12.9-2-ARCH #1 SMP PREEMPT Fri Jan 31 10:22:54 CET 2014 x86_64 GNU/Linux and GnuPG gpg (GnuPG) 2.0.22 libgcrypt 1.6.1 Copyright (C) 2013 Free ...
0
votes
0answers
33 views

msysGit (Windows) and gpg-agent

Does anyone have a working setup to use gpg-agent in combination with msysGit on Windows? I have a setup for ssh-agent and it works fine but I can't get gpg-agent to work on Windows. I tried both a ...
1
vote
1answer
135 views

Can GNUnet-qt be used like BitTorrent Sync?

Is it possible to setup GNUnet-qt to work like BitTorrent Sync. Where BitTorrent Sync allows you to have your very own decentralized private file sync system. Is it possible to do the same with ...
0
votes
1answer
73 views

Email encryption and passphrase caching using thunderbird, enigmail, linux arch and kde

I fiddled a bit around to get this passphrase caching working. So post my way to go here, to be able to look up later.
1
vote
1answer
19 views

Are gpg -sta and gpg --clearsign commands same thing?

Are gpg -sta and gpg --clearsign commands same thing? I believe so, but it is not obvious from the man page. Thanks
0
votes
1answer
39 views

Combining GPG key signatures into one key file

I need help with GnuPG command line commands related to building the web of trust. I would like to have five signature added to my public lock before uploading it to the server. Ho can A simmilar ...
1
vote
2answers
273 views

Encrypt file using PGP/GPG having multiple recipients [duplicate]

I have used GPG for some time and know a little about the inner workings. For example I know how to encrypt a file with your public key so only you can open it with your private key, neat. But ...
0
votes
1answer
28 views

GnuPG: Get Public Key/Fingeprint from Encrypted mail

I have received a GnuPG encrypted mail which i cant decrypt: -----BEGIN PGP MESSAGE----- Charset: ISO-8859-15 Version: GnuPG v2.0.20 (MingW32) Comment: Using GnuPG with Thunderbird - ...
0
votes
0answers
18 views

stdout error using cross-compiled gpg

I compiled gnupg(ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-1.4.16.tar.bz2) for an armv5l processor using the ulibc cross compiler ...
6
votes
2answers
143 views

Human-readable dump of gpg public key

Is there some tool to write out the actual content of a GnuPG public key in a way a human can unserstand? I mean not only ascii-armor which a human can read and type, but something which really breaks ...
2
votes
1answer
51 views

Multiple user ID matches in gpg

My GPG secret keyring contains multiple keys with the same email address. Although I can set the global default key easily enough (with default-key) some tools I use (for example, git and the Debian ...
0
votes
1answer
97 views

Simple bash gpg update script

I have a text file in which I save all my important personal data like all my accounts' passwords and my credit cards' PINs in case I forget those. Obviously, that file needs to be encrypted, so I ...
2
votes
1answer
251 views

git tag with gpg-agent and pinentry-curses

When using gpg-agent with git tag -u, I'm getting the following error immediately: gpg: cancelled by user gpg: skipped "my@email.com": bad passphrase gpg: signing failed: bad passphrase error: gpg ...
0
votes
1answer
147 views

what are working mutt pgp encryption commands?

I have been using mutt for a while and while I can (and do) sign all of my emails, I cannot encrypt any emails. I got my commands from some random place on the internet. Here is my current setup. I ...
0
votes
0answers
36 views

Graphical interface to git with support for signed commits?

Is there any graphical interfaces to Git with support for gpg signed commits? I've tried the "Tools" -> "Add..." way of the builtin git gui that comes with git but that doesnt work with commit -S. ...
0
votes
1answer
18 views

GPG: Different trust “categories”

I'm getting started with GPG and sent my key to the PGP Global Directory. When I verified my email address, they signed my key, and I've got a question. In one case, I might not really care about ...
3
votes
1answer
156 views

How to create a signature of higher trust level in GnuPG?

A friend of mine signed my GPG key: % gpg --list-sigs 0xAAAAAAAA pub 4096R/AAAAAAAA 2011-03-14 uid Alice <alice@example.com> sig 3 AAAAAAAA 2011-03-14 Alice ...
0
votes
1answer
32 views

Signature not removed from keyserver

I noticed that an on uid of my GPG certificate is two times signed with my key. I thought that doesn't make much sense and cleaned the key (gpg --edit-key and then clean). Then i send the key to the ...
6
votes
1answer
775 views

Are gnupg and gnupg2 compatible with each other?

With Macports, I realize that there are ports gnupg and a newer gnupg2. I'd like to use GnuPG to encrypt files. Should I install both, or just one is enough? If I installed both, are both compatible ...
2
votes
1answer
307 views

Embed a GPG Signature in a PDF File

Is it possible to embed GPG signatures in PDF files the way it can be done with X.509 signatures? (I've been using JSignPDF to sign my invoices so far, but now the law has relaxed a bit, and it ...
0
votes
1answer
25 views

Sign a GPG key with multiple own keys in Seahorse

I have multiple GPG keys. I want to sign a key with all my keys. How can I do that in Seahorse?
0
votes
1answer
77 views

GnuPG — encrypt already signed message

I'm working on a program that encrypts email after receiving so that at least it can be stored encrypted on the receiving mail server (although still would be transmitted in plain text). While it is ...
1
vote
2answers
649 views

gnupg: How to exchange keys with key server

How do you exchange keys with via key server? Worked example would be great with send and find+retrieve. I know gpg --send-keys is the command but how do you find the keyid (tried all output from ...
1
vote
2answers
271 views

How to restrict the usage flags for primary key-pairs in OpenPGP certificates?

More than one time I read recommendations to use the primary key-pair in my OpenPGP certificate only to sign sub-key-pairs and not for general daily use (even to keep the private key stored on a ...
3
votes
2answers
1k views

GPG - verifying signatures without creating trust chain?

Is it possible to ask gpg (or gpg4win) to just verify whether a file was signed by a particular public key file, without having to import and sign and trust that key? i.e. something like gpg ...
1
vote
2answers
330 views

Encrypting a document with multiple keys, and making people accountable for those keys

Hypothetical here. You have a highly sensitive file that you don't want to become public ever, other people also don't want it to be public. To reduce likelihood of being murdered you publish an ...
0
votes
1answer
185 views

“general assuan error” in gpa under linux

I'm trying to use gpa to manage my gpg keys under linux mint and am getting a "general assuan error" whenever I try to run the application. If I run as root, gpa works fine but I'd prefer to not need ...