PGP (Pretty Good Privacy) is a computer program for encryption and decryption of data that provides cryptographic privacy and authentication for data communication.

learn more… | top users | synonyms

1
vote
1answer
10 views

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

I have a friend who has a PGP 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) does ...
2
votes
2answers
2k views

Unable to send pgp key to keyserver

Trying to follow the steps in http://packaging.ubuntu.com/singlehtml/ to create a deb package for some software... I had to start by generating a GPG key $ gpg --gen-key Then upload the public ...
0
votes
0answers
13 views

how to create and use sub keys with PGP?

let's say i wish to have forward secrecy with PGP, that requires me to create multiple sub keys to be used and destroyed accordingly, how should i do it?
1
vote
0answers
14 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
16 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 ...
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. ...
5
votes
3answers
134 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 ...
0
votes
1answer
33 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 "...
6
votes
2answers
1k views

if one doesn't care about protecting a gpg secret key, is it still as secure as using gpg --symmetric?

Each of Alice and Bob is using gpg just to protect his/her own personal files and not using it as a way to send encrypted text to others. Alice has generated a key (gpg --gen-key) that she uses to ...
3
votes
2answers
595 views

How do I display the usage flags for my encryption keys in a less hackish way?

I am trying to educate myself on the use of encryption keys and I've been experimenting with this old Linus Torvalds’ key that I found 956EB7BF449FA3AB. I am interested to display the usage flags but ...
4
votes
1answer
2k views

Microsoft Word and digital signatures using PGP?

I have a document for a project that I am working on with my team, and I need to digitally sign the document in a way that can be verified by other members of the team. The catch is, internally, we ...
2
votes
1answer
18 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
18 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 ...
0
votes
0answers
11 views

How to get PGP encryption status of MAC from commandline

I encrypted my mac using symantec product, Encryption Desktop. I am getting the status from commandline using pgpwde --status But some times i am unable to get output of this command....
3
votes
0answers
1k views

Windows 7 slowly freezing (app by app)

I think this is different from other "win 7 freeze" questions. :) I consider myself pretty experienced user but this is just too much for me. Let me explain what happens: Some program freezes ...
1
vote
1answer
40 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 ...
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
0answers
20 views

PGP - encrypt file passing only file and public key as parameters

Security noob here.. We need to encrypt a file before sending it to vendor. They gave us their public key .asc file. I want to encrypt using just minimum required parameters as pseudocode below : ...
46
votes
2answers
13k views

One GnuPG/PGP key pair, two emails?

I have two emails I use frequently, for both of which I'd like to use PGP keys generated/managed by GnuPG. I'd like to avoid creating a different key pair for each email, if possible, as that's ...
0
votes
1answer
49 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
0answers
51 views

OS X disk encryption with GPG

OS X has it's own encryption solution FileVault. It encrypts all data with AES. Is it possible to encrypt disk with PGP cypher with FileVault or GnuPG?
1
vote
2answers
33 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 ...
3
votes
1answer
44 views

Enigmial does not put the secret key into the secret keyring

I've been using Enigmail 1.8.2 on Thunderbird 38.5.0 from the Fedora 23 repository. I generated a key pair by using Enigmail and I can send encrypted and signed emails by using Thunderbird (or even by ...
1
vote
0answers
57 views

How to link .asc / .pgp / etc. files with Kleopatra on Windows?

Having an *.asc or *.pgp file on e-mail attachments displayed in Thunderbird, but also having files with these extensions on the harddrive: How do I link them with Kleopatra (always open with), on ...
2
votes
2answers
73 views

How do I manage multiple e-mail addresses with GnuPG?

I feel like this is a question that should have plenty of coverage, yet I found nothing that explained this to me in a way that I understood. It may be (and feels like it) that I misunderstood ...
0
votes
0answers
25 views

Can't decrypt immediately after encryption

I want to use GPG to create an encyrpted backup. I am testing the encryption before I use it and it's not working like I expect. I am using this script to test it: gpg --gen-key gpg --encrypt $0 ...
1
vote
1answer
119 views

“Email address or key ID cannot be matched to a valid, not expired OpenPGP key” in Enigmail after moving to a new computer/account

When I write a new email in Thunderbird while signing the mail using Enigmail, I get an error message: Enigmail Alert Encrypt draft messages on saving The email address or key ID 'john@...
1
vote
1answer
159 views

generating RSA private key from PGP PRIVATE KEY BLOCK

I downloaded my private key block from keybase.io (into file keybase.ppk). It starts with: -----BEGIN PGP PRIVATE KEY BLOCK----- Version: Keybase OpenPGP v2.0.49 I would now like to create a ssh ...
0
votes
3answers
10k views

Can I access keyboard history without a keylogger?

By accident I wrongly typed a password (twice) that I completely forgot, when I was encrypting my external Toshiba drive with PGP Disk. I have no backup, nor *.krp files to repair my key, but I am ...
2
votes
1answer
28 views

GnuPG Domain to Domain email encryption

I'm running a Debian mail server and am looking forward to encrypt mails from my domain to the domain of a business partner. Also, the encryption should happen on the mail server itself not on a mail ...
3
votes
3answers
834 views

Is it possible to associate a secondary email address with an existing *public* key?

For example, if I have a friend's public key that's associated with, say, email address john@domain.com, but I want to send him a message at john@other.net, is there a sensible way to do this? Is ...
0
votes
1answer
52 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
193 views

GPG Tools: location of private keys

I moved to another Macbook. Because of expensive SSDs and really smaller disk size, and because I wanted to start clean with this install, I couldn't transfer the user folder. I have the old disk in ...
3
votes
2answers
70 views

Why does PGP encrypt differently when piping into a file instead of printing the result?

I'll use the following PGP key stored in pub.pem: -----BEGIN PGP PUBLIC KEY BLOCK----- Version: PGPfreeware 6.5.8 for non-commercial use <http://www.pgp.com> ...
7
votes
2answers
11k views

Public/Private key locations with Enigmail and Thunderbird on Windows

Sorry if this is a simple answered question, I just cannot find what I'm looking for. I'd like to find the location of my public/private key combinations on my Windows machine that I made through ...
0
votes
1answer
61 views

GPG giving bad signature when email is downloaded as .eml

I'm trying to test whether someone with a copy of my public gpg key can verify a signed email that they receive from me. I'm using two computers for this. On the first, I have my key generated and ...
0
votes
1answer
33 views

GnuPG - web of trust possible for offline device?

I plan to issue software updates to offline machines via USB sticks. Machies will be dispatched, and on site for potentially many years, During that time, new developers will be hired and fired. I ...
1
vote
1answer
302 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? ...
0
votes
2answers
144 views

What encoding was used for this public key?

What encoding mechanism is used to encode the key below? -----BEGIN PGP PUBLIC KEY BLOCK----- Version: SKS 1.1.0 mQGiBD/dywoRBADkaddBEedMhFHGH3wKORuOIDFufSDERmlm2ktj3ma+Ghfwvnuv vpAj+...
2
votes
1answer
199 views

Can I use GnuPG to verify that a file is unmodified and comes from the correct sender?

Can I use GnuPG to verify that a file is unmodified and comes from the correct sender? Let's take a simple use case: I have this file with some important content, let's say it is in a .tar.gz file. ...
0
votes
1answer
264 views

Verify signed file using GPG by passing in signature hosted online rather than stored locally (i.e. in keyring)?

Is it possible to pass the URL of a GnuPG signature when executing a verify query against a signed file? For example, instead of: gpg --verify file.txt Is there a variation of something like: gpg ...
2
votes
1answer
127 views

How much information is included with a GPG signature?

Let's say you verify someone's signature with GPG: $ gpg --decrypt statement.txt.sig "I am not a crook." gpg: Signature made 17 Nov 1973 9:31:50 AM CDT using RSA key ID 92861D99 gpg: Good signature ...
2
votes
1answer
914 views

Sign & Encrypt vs. Encrypt & Sign - What does GPG do?

I’ve already read the discussion Should we sign-then-encrypt, or encrypt-then-sign? and the paper Defective Sign & Encrypt in S/MIME, PKCS#7, MOSS, PEM, PGP, and XML. My question has to do with ...
2
votes
2answers
373 views

How to remove the gpg signature from a signed file without creating a new file on disk?

If I have a 100 MB signed binary file that I download over the internet, I need 200 MB of disk space to open it. The file is just signed, not encrypted. When disk space is low, It is not possible to ...
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 ...
2
votes
1answer
694 views

How to send encrypted mail using mailx command in Linux/Unix?

I want to make my email encrypted as email is confidential. Can anyone please tell me how to encrypt the email using the mailx command. In my shell script I have already used mailx to send the emails, ...
1
vote
1answer
599 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 ...
0
votes
2answers
433 views

How can I perform PGP encryption and decryption method using openssl commands

I have a PGP public key of B. Now A wants to send an encrypted message to B using his PGP Public key by using PGP method. How can I do this with OpenSSL? Edit I have seen wiki page for PGP method ...
6
votes
2answers
4k views

How do I verify a PGP signature?

What GUI (no command line) software or websites can I use to verify a PGP signature? If I have a message like this -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Because anyone can claim to be me. ...
3
votes
2answers
12k views

Authenticating and adding public key for apt

I was trying to get the official mongodb for Ubuntu, following the instructions at http://www.mongodb.org/display/DOCS/Ubuntu+and+Debian+packages After adding the deb http://downloads-distro.mongodb....