The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
1answer
19 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 ...
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
38 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
1answer
47 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 "...
5
votes
3answers
166 views

How does public/private key cryptography work, who generates the key pair?

I have a requirement to encrypt a file, get it to an external partner who will then decrypt the file using a key. My "basic" understanding is that I can generate the public and private keys, encode ...
2
votes
1answer
20 views

Can uploading an OpenPGP key to a keyserver cause more spam mail?

Public OpenPGP key servers synchronize their public keys with each other and as far as I know anyone could set up their own keyserver and synchronize it with other keyservers. This made me wonder if ...
1
vote
2answers
22 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 ...
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 ...
0
votes
1answer
14 views

Best way to signal no longer used (lost) key

I have an old PGP key for which I don't have the secret anymore, nor the revocation certificate, and when I created the key I did it without expiration date. So I know, I have to move on, and so I ...
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
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
2answers
24 views

How to remove OpenPGP private keys from computer?

As the title reads, I wonder how I could securely, physically remove my private keys from my computer. I can't seem to find a way to do that on Kleopatra. These keys I'm talking about are used for ...
0
votes
1answer
27 views

Is it possible to encrypt an email for two keys but the same email?

I started using Enigmail with Thunderbird to encrypt and sign my mails. It works fine with my brother and some other people. Yesterday I got a reply from someone with whom I did communicate via ...
4
votes
1answer
131 views

Error with GPG Smartcard fetching public subkey

I'm trying to setup an OpenPGP smartcard using a YubiKey. It's a YubiKey 4, so in theory should accept a 4096 bit secret key, but I'm using 2048 bit subkeys. I have a master key (set for cert only), ...
1
vote
1answer
23 views

OpenPGP 2.x Smartcard Lifetime?

What's the average lifetime of using an OpenPGP 2.x Smartcard with an USB Reader (Gemalto K30)? And does the USB (SIM) reader has a significant influence on the smartcards lifetime? (Because the chip ...
0
votes
1answer
60 views

Best practice to send OpenPGP encrypted messages to K-9 Mail on Android [closed]

In K-9 Mail, some OpenPGP encrypted messages are shown directly, some you have to download separately to decrypt them in APG. There are some PGP/MIME or PGP/INLINE options in Thunderbird, you can ...
1
vote
1answer
366 views

How to use gpg --gen-key in a script?

GnuPG is one of these annoying tools that has a non-scriptable command line. I want to run gpg --gen-key in a script, the rest of the process is simple commands. Any one had any luck with this? ...
1
vote
1answer
24 views

How to Install Public Keys with GPG

I am installing vagrant and I am trying to follow their instructions. My next step is to install their PGP public key. I'm on Windows so it's not as easy as just --recv-keys, I need to place this code ...
2
votes
1answer
23 views

What is the minimum amount of data I need to sign a file?

Let's say I have a multi-gigabyte file on a work computer, and (2) I have my private GnuPG key on my home computer. I want to sign the really big file with my private key. I trust my home computer ...
1
vote
1answer
312 views

Is GnuPG symmetric encryption vulnerable to brute force attacks on the passphrase?

The handbook suggests that symmetric encryption is appropriate (and therefore not less secure than public key encryption?) when only you need to access the plaintext. But according to this post, ...
3
votes
1answer
257 views

How GPG generates an MD5 fingerprint given a public key?

I have the following GPG public key stored inside a file called publickey.pub and encoded in ASCII Armor (Radix-64): -----BEGIN PGP PUBLIC KEY BLOCK----- Version: 2.6.3ia mQCNAzNko/QAAAEEANZ2kpN/...
1
vote
1answer
29 views

Switching keys in GnuPG without losing encrypted files

I have an 10-year-old GnuPG key that's 1024-bit DSA. I don't use it much for signing emails, but I use it a lot for encrypting files. I would like to (I assume) revoke this key and create a new 4096-...
3
votes
1answer
50 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 ...
0
votes
1answer
89 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 ...
8
votes
2answers
11k 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 ...
0
votes
1answer
21 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 ...
3
votes
1answer
183 views

Why is the ASCII-armored version of my OpenPGP public key so long?

My OpenPGP key pair was generated by 2048 RSA. The ASCII-armored version of the public key is much longer than most others that I see on the OpenPGP key servers. Mine is several screens worth of ...
2
votes
1answer
156 views

Why is gpg --list-keys sometimes printing subkeys, sometimes not?

This question occured in the comments of "How do I display the usage flags for my encryption keys in a less hackish way?", and seems worth being answered in a Q&A form as the answer is not ...
3
votes
1answer
194 views

Is the PGP version number required?

ASCII-armored GnuPG data usually has a Version header: -----BEGIN PGP MESSAGE----- Version: GnuPG v2.0.22 (GNU/Linux) hQIMAxfkjOs8YMF+AQ//e9yWfwKBddUX/1YfghKfF/xJhuirYmAdxhsLaO5Fj0QJ ...
0
votes
1answer
1k views

Trying to verify file signature in GPG4win: Not enough information to check signature validity

I've downloaded enigmail for Thunderbird and I'm trying to verify the PGP signature with GPG4win. I imported the public certificate, certified it with my own, downloaded the Open PGP signature, and ...
0
votes
1answer
28 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 ...
2
votes
1answer
222 views

Using an OpenPGP card to authenticate with a public-key in SSH on Windows

I want to use an OpenPGP card to authenticate with a public-key in Secure Shell. On linux, I know I can authenticate by using gpg-agent. But on Windows, I can't authenticate by using gpg-agent (a ...
3
votes
2answers
5k 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 -...
0
votes
1answer
178 views

How to rebuild the gpg web of trust when all keys are expired?

Long story short, one of my machines hasn't been updated for a while, and the gpg keys it has for key servers and apt repositories have all expired. If possible, I would like to restore them to a ...
0
votes
1answer
266 views

Restoring OpenPGP Keys from an Ubuntu Backup

My computer with Ubuntu broke and have a backup from that (Déjá Dup). Now i want to restore my public and private keys to a Thunderbird installation in Windows 8. There's this .ssh folder inside the ...
1
vote
1answer
335 views

Using OpenPGP Smartcard on Ubuntu on Command line

I have an OpenPGP smart card loaded with a gpg key object. I get a read out of my gpg key when I type the command "gpg --card-status". However, I have no idea how to actually use the keys on the ...
1
vote
2answers
323 views

How to prevent an openPGP key from being uploaded to a keyserver?

Is there flag or something in an openPGP key that can be used to communicate my wish that this key should never be uploaded to a keyserver? If not, can I create a key that is broken in such a way ...
0
votes
2answers
1k views

GPG4WIN Keys and Transferring them

I have installed www.gpg4win.org and have generated a keys that will allow me to both sign and encrypt files. On windows it uses the (KDE) / Kleopatra Certificate Manager - Version 2.1.0. What is the ...
0
votes
1answer
3k views

gpg --verify gives a bad signature warning

gpg --verify is giving me a bad signatures more often than I'd expect. Just this week, two libraries have given me "BAD signature" warnings - Libsodium and chruby. I followed all the instructions on ...
1
vote
2answers
740 views

gpg2 on Mac: How to enter passphrase on terminal instead of getting a GUI prompt?

I am using Mountain Lion and when I encrypt a file using gpg an annoying GUI prompts for me to enter the passphrase. I would like to be prompted for the passphrase in the terminal, not in an external ...
0
votes
1answer
188 views

portable opengpg?

I would like a portable opengpg binary/frontend for windows (bonus linux as well) so i can decrypt emails written to me at any time. So far all the programs i found requires installation and seems to ...