Questions tagged [gpg]

GNU Privacy Guard (GnuPG or GPG) is OpenPGP compliant FOSS alternative to PGP encryption software.

165 questions
50
votes
2 answers

How to verify an imported GPG key

I'm new to this PGP thing. Here are my questions: Verification When I do this, I'm given the message "This key is not certified with a trusted signature". Is there anyway to make it trusted and better yet what's the proper way for doing…
21
votes
3 answers

How to prevent gpg from creating .gnupg directory in user's home directory

I'm trying to run use the gpg tool to encrypt and decrypt files and I would like to know if it's possible to run this tool without it changing a user's global state. Specifically, running gpg for the first time as a given user will cause it to…
18
votes
2 answers

How can I decrypt multiple files in a directory with gpg?

I have a directory with multiple .gpg files, all encrypted with the same passphrase. How can I decrypt them all without entering the passphrase over and over?
3
votes
1 answer

Is is still necessary to export the trustdb file?

I'm reading up on these instructions for backing up gpg keys: https://gist.github.com/chrisroos/1205934 He says that in the gpg instructions it says that it's better to export trustdb and simply backing it up. However these instructions were…
Ole
  • 223
2
votes
1 answer

GPG key server for internal network

I'm looking for some software that works just like the public key servers but will only serve keys for a local network, hence the server needs to not sync with the public network. Can anyone suggest any software that can do this and how to configure…
Rwky
  • 774
1
vote
2 answers

The generation method of the random number at the time of the key pair making in gpg

in gpg --key-gen following error occured. Not enough random bytes available. Please do some other work to give the OS a chance to collect more entropy! (Need 300 more bytes) What's wrong?
1
vote
0 answers

GPG disabling ssh support for an authentication key coming from a smartcard

When a gpg smartcard (e.g. yubikey) is inserted and contains an authentication key, the key is automatically enrolled by the gpg-agent. That means the key is usable for any ssh operation without needing to add its keygrip inside the file…
0
votes
1 answer

Can I extract the GPG public key if I have an encrypted file, the private key pgp file, and the pass phrase?

I am working on a project where I have been provided with a GPG private key in armor text format, the pass phrase, and a file that was encrypted with the public key. The public key is not available however. I have verified the parts I have by…