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
1answer
15 views

How to create a single GnuPG signature which works on both LF and CR/LF versions of a file?

I created a text file using only LF (line feed) at the end of each line. I then made a version of it which was identical, except it had CR/LF (carriage return / line feed) at the end of each line. ...
2
votes
2answers
11 views

Receiving a key from a keyserver in gnupg

How does one receive a key from a keyserver in gnupg? I have tried typing $ gnupg rec-keys "the key" Error given was, usage: gpg [options] [filename] I have also entered just rec-keys "the key" Error ...
0
votes
0answers
13 views

gpg to decrypt a file is not working in unix

i am decrypting a gpg file. When i try below command it is showing retern code 2. gpg --output filename.txt --passphrase '$password' --decrypt filename.txt.gpg server details: SunOS 5.10 please ...
0
votes
0answers
5 views

GPG: Create a “second” key for office email address

so I have created an RSA PGP key using gpg --gen-key. I added more private email addresses to this key using gpg --edit-key MYKEY. The problem: I have an office email address, which I only use from ...
2
votes
0answers
13 views

Anubis as GPG proxy [migrated]

I'm trying to setup GNU Anubis to act as a sort of proxy to sign/encrypt emails coming from a service. The service is currently configured to send email using our SMTP server. The idea would be to ...
3
votes
1answer
28 views

Should my OpenPGP key used for storing documents in the cloud expire?

I plan on doing a mass migration of all my local files to various cloud services since space is pretty cheap these days. I figure I should probably encrypt my data before I upload it, which is better ...
1
vote
1answer
40 views

Generating SSH and GnuPG keys on a remote server. Key management best practices

I'm asking about best practices relating to key generation, use, and management. On a few occasions, and for various reasons, I've created SSH and GnuPG keys while logged in over SSH to a remote ...
0
votes
0answers
11 views

GPG agent over SSH (with vagrant)

I'm using vagrant for building and signing my debian/ubuntu packages but I'd prefer to not have have to copy my GPG keys into the virtual machine just to sign packages. It just feels insecure. Is ...
1
vote
1answer
45 views

How to specify private key when decrypting a file using GnuPG?

I am trying to decrypt a file with GnuPG, but when using the command below: gpg --decrypt filename.gpg I get the following message: gpg: encrypted with RSA key, ID 3662FD5E gpg: decryption failed: ...
0
votes
1answer
28 views

GPG - all users see the keys

How do I setup/configure gpg so that any person who uses the server that gpg is on can see the keys and run encryption? I have already imported the pubring.gpg and set the trust level to 5 for our ...
0
votes
1answer
16 views

How to encrypt a file using GnuPG in Linux?

I'm trying to encrypt a file through gpg command with the passphrase. In the GUI application I have used the below command but it did not encrypt the file: gpg --yes --passphrase [qwerty] -c -f ...
0
votes
1answer
14 views

Verify that a GPG-encrypted file is signed by particular user(s)

I've got a file encrypted and signed by GPG. In the man page for gpg, for the --decrypt option, it says: If the decrypted file is signed, the signature is also verified. I'd like to do more ...
0
votes
0answers
50 views

GPG Agent under Windows as SSH Agent for git bash

I'm trying to set up gpg-agent as the common authentication agent under Windows. It works fine for both Putty and regular gpg use, but now I'd like to use it as ssh-agent in git bash as well. From ...
2
votes
1answer
30 views

Found GPG old keys on keyserver but accounts long since gone - cleanup?

So I went to MIT's keyserver and discovered a few old public keys were there after dong a search. I don't have any of these keys anymore. Is it possible to have the public keys removed from the ...
1
vote
0answers
75 views

gpg --gen-key not working on “su -l”, but working on local terminal

When I try to use "gpg --gen-key" (v2.1.2 on archlinux) with an user I just created ("backtest"), it works when I open a terminal for that, but not when I'm logged in with another user and then "su -l ...
2
votes
1answer
47 views

Why must I enter a passphrase to encrypt a file with my own key?

I have created a 4096-bit, password protected, RSA key for use during development efforts. I have my environment setup such that this key is the only private key I have on my secret key ring. Why ...
0
votes
2answers
48 views

Is it possible to decrypt files which were encrypted by gpg with a very strong password?

I have encrypted my important files by gpg with a 32-length password, includeing upper-case characters, numbers and some special characters. I have stored them online so they can be download by ...
0
votes
0answers
34 views

Drafts are not deleted after sending email with Thunderbird/Enigmail/Gmail

When I write a longer email, Thunderbird creates occasional drafts to save the message. But instead of overwriting the old draft, it creates a new one every time it saves the message. These drafts are ...
3
votes
1answer
131 views

Thunderbird GnuPG + Enigmail: encryption command failed

Yesterday Thunderbird complained that I used GnuPG 1.x and the next update of TB would not work with this version. So I upgraded my Mac (OSX 10.10 Yosemite) to GnuPG 2. Now I see that TB has a new ...
0
votes
0answers
13 views

Properly setting up gpg4win to use Comod Email Certificate

I am looking to properly setup and import an email certificate from Comodo to use with GPG on Windows (gpg4win). I obtained my email certificate from Comodo, and successfully imported it into ...
1
vote
1answer
64 views

How to reimport gpg key replaced by stub

I've got a subkey which was moved to a card. This resulted in replacing it with a stub in the local keychain. This means every time I try to use that subkey, I get: gpg: public key decryption failed: ...
1
vote
1answer
27 views

What are the risks of creating a gnupg private key with no passphrase?

On a multi-user system (linux), I created a private key with no passphrase. I can now encrypt a file and decrypt it locally without supplyng a passphrase. This is very convenient and appears to be ...
2
votes
0answers
53 views

Preveting DNS Leaks using gnupg over TOR while allowing key-fetching via DNS

Using DANE to associate OpenPGP public keys with email addresses becomes more and more popular. There are different methods implemented in GnuPG and used like pka and cert. IETF just released a new ...
0
votes
1answer
176 views

Set up gpg to decrypt own local files without supplying passphrase

This is a question about gpg. When I log into a linux system as a particular user ("opsacc"), I can encrypt a file using gpg. I can then decrypt the file without supplying a passphrase. The gpg ...
2
votes
1answer
132 views

Use gpg2 as gpg replacement OSX

I installed the gnupg2 formula from Homebrew successfully and can run gpg2 from the command line. However, certain programs such as git expect to run gpg rather than gpg2. I resolved this problem by ...
0
votes
0answers
48 views

Export the secret key without the export file being passphrase-encrypted

I have a secret key encrypted with a passphrase. Take this: gpg --export-secret-keys --armor KEYID >backupfile.asc This does its job without asking me for a passphrase. I conclude, therefore, ...
0
votes
1answer
31 views

GPG 2 decrypt from STDIN via pasting inconsistency

Does anyone know why in some cases you can do this: gpg2 -d And paste your GPG message into the terminal, type ctrl+D, get prompted for your passphrase and get the results to STDOUT? But in other ...
0
votes
0answers
47 views

Encrypt file with password from Gpg4Win Context Menu?

I have a list of usernames and passwords sitting on my desktop for work related stuff. I'd like to encrypt it under a master password. I believe this is called the String-to-Key (S2K) Specifiers (but ...
1
vote
1answer
59 views

Verify GPG tarballs from command line with signer's public key block?

I've got a script to fetch Gcrypt's five source packaes from GnuPG Download. I also fetch the signature for each package. For example: FILE=libassuan-2.2.0 wget -q ...
3
votes
1answer
24 views

How to generate the revocation certificate after being made a revoker with GnuPG

I read the "How should GnuPG's `--desig-revoke` command be used?" question/answer, so now I know when to use the --desig-revoke. So, I have two different private keys -- one at work (WORKWORK), ...
1
vote
0answers
140 views

Using OpenSSL to generate encryption key for Outlook users

A private web application needs to receive encrypted email from perhaps 20 known users. How can I use OpenSSL to generate a valid encryption certificate that Outlook users can import and use to ...
2
votes
4answers
75 views

GPG public key created with GnuPG is rejected by MS Outlook 2010, why?

I created a GPG keypair with GnuPG on the CentOS 7 command line and I have exported the public key into a .asc file and successfully used that public key to encrypt emails sent from another email ...
8
votes
2answers
2k views

How long would it take to break a 1024 bit OpenPGP encrypted email?

For WPA, there are calculators to determine the time needed to crack a passphrase, but I have found nothing for OpenPGP. How long would it take to break a 1024 bit OpenPGP encrypted email (depending ...
1
vote
0answers
39 views

Export P12 from GnuPG for PDF signing field

It seems to be possible to export a PGP .asc file to .p12, but I'm unable to use the generated .p12 file for a signature field in a PDF file. Is there a way to export it so it's usable for that field, ...
2
votes
1answer
79 views

How to have a different pass phrase for a gpg subkey?

I need to automate a deployment process and the tool will sign the release artifacts automatically. My key ring has a primary key which I use only for creating subkeys, and two subkeys. One subkey for ...
2
votes
1answer
84 views

Explain gpg --list-keys output

I run gpg --list-keys and it shows me the keys present in the keyring: /home/kshitiz/.gnupg/pubring.gpg -------------------------------- pub 4096R/8F64D7E0 2015-02-18 uid Kshitiz ...
1
vote
1answer
232 views

How to automatically delete the original files after encrypting with GPG?

I need to use GPG on a folder with a lot of files and subfolders. I can use "find" + "gpg" for that and I can encrypt all the files but my issue is GPG does not delete the original file after ...
0
votes
1answer
25 views

How can I send an email using a GPG public key?

I would like to send an email (on Windows), which I would like to encrypt using a GPG public key. I tried to use a Thunderbird plugin, but it requires both the public and the private key. But I have ...
0
votes
1answer
12 views

GPG truncating lines

I'm attempting to send a signed file to a recipient. When they received the file, they noticed that some of the lines had been truncated to 80 characters. If I look at the original file, it looks ...
0
votes
1answer
64 views

gpg-keyring-daemon apparently caches passphrase for ever (across reboots)

I have been decrypting my GPG-encrypted files for years. My private key was encrypted with a passphrase. Upon attempting to decrypt, a dialog box appeared, asking for my passphrase. This only happened ...
0
votes
1answer
115 views

gpg-agent is not requested in git calls

In git commits (gpg), git command always asks for passphrase while gpg-agent is running. I launch gpg-agent with $ eval `gpg-agent -s --enable-ssh-support --daemon --write-env-file ...
0
votes
0answers
25 views

gpg-agent rejects correct password for ssh key

I'm trying to connect to my ssh server with my private key (~/.ssh/id_rsa) which is protected by a passphrase. I set up gpg-agent to cache the passphrase. When I get to the pinentry, it won't accept ...
2
votes
1answer
45 views

How to let gpg-agent confirm each key usage

When running gpg-agent as part of my login session each program I run has access to my (possibly) unlocked PGP-key. It might be paranoid, but I want to get confirmation about each key usage, so I wish ...
0
votes
1answer
53 views

are gpg keyservers synchronised with each other? pgp mit server too?

A question regarding the gpg keyservers: Are the servers found in the list here synchronised with each other?: http://www.gpg4win.org/doc/de/gpg4win-compendium_22.html So uploading a pub key to one ...
0
votes
1answer
43 views

gpg key, submit to keyserver and find again using webbrowser

I am using Kleopatra to create gpg keys (gpg4win). However, I also want to use openkeychain on android. openkeychain uses pgp.mit.edu as keyserver, Kleopatra uses keys.gnupg.net keyserver. How can I ...
0
votes
1answer
100 views

How to generate a gpg4win keypair without passphrase?

I would like to generate a gpg keypair using gpg4win. I am at the point where a personal OpenPGP key pair is generated, but: How can I generate a keypair using gpg4win with no passphrase? The private ...
0
votes
0answers
46 views

Verifying GnuPG itself

Following the steps indicated in http://www.deepdotweb.co/jolly-rogers-security-guide-for-beginners/how-to-verify-your-downloaded-files-are-authentic/ , which first verifies that the verification ...
2
votes
2answers
57 views

How to replicate GPA's Sign and Compress option on command line in Windows

As the title says, I need to replicate GPA's "Sign and Compress" option on the command line. I'm trying to automate some encryption of files for submission to a bank and the instructions they gave me ...
0
votes
1answer
64 views

GnuPG in Thunderbird w/ Enigmail on dual OS machine

I am running a computer with two OS, namely Ubuntu 14.04 and Windows. I'd like to write encypted Mails from both OS, which runs well (i.e., every program needed is installed). The only problem I have ...
2
votes
0answers
200 views

How can OpenSSL Secret Keys be imported into GnuPG?

I want to import the secret key from a OpenSSL x509 (Client) Certificate into GnuPG (NOT gpgsm for S/MIME!) I have seen there are utilities to convert GPG Keys into SSH Format [1] and even create ...