People who code: we want your input. Take the Survey

Questions tagged [gpg]

gpg is the main command line tool of the GNU Privacy Guard (GnuPG), implementing the OpenPGP standard for public key cryptography. It allows encryption, (verification of) signatures and trust models like the web of trust. gpg (and its library gpgme) are the base of many FOSS crypto applications (like mail user agents). There is a standalone version (1.x) and one (2.x) requiring gpg-agent for secret key handling.

Filter by
Sorted by
Tagged with
11
votes
2answers
23k views

GnuPG command to show key info from file

When I run gpg --with-fingerprints --with-colons keyfile.key, I get a machine parsable output on stdout containing the key fingerprint for the key inside the keyfile (which is exactly what I want), ...
6
votes
6answers
12k views

gnupg on Arch Linux broken since readline upgrade - can't find libreadline.so.6

I've just upgraded readline to a new major release: $ grep readline.*7 /var/log/pacman.log [2016-11-15 21:53] [ALPM] upgraded readline (6.3.008-4 -> 7.0-1) Since this GNUPG is broken: $ gpg ...
5
votes
0answers
680 views

Intermingled input when using local gpg-agent from remote site

I'm starting a local gpg-agent on my Mac, with the extra-socket option. Then I connect to a remote site using SSH, forwarding the remote S.gpg-agent socket to the local S.gpg-agent.extra socket. This ...
5
votes
2answers
3k views

Encrypt with GPG using a key passed as CLI argument

I want to create a script that would automatically encrypt and push to GitHub into public repo some sensible files I don't want to expose (but do want to keep together with the whole project). As a ...
4
votes
3answers
2k views

Running up to X commands in parallel

I'm running something like this: find . -maxdepth 1 -type f -note -iname "*.gpg" | sort | while read file ; do echo "Encrypting $file..." gpg --trust-model always --recipient "me@myself.com" -...
3
votes
0answers
402 views

Using Centos to sign .deb packages [duplicate]

When installing a package using apt-get install, the package is installed but gives the following warning: W: GPG error: http://12.345.67.890/repo stretch InRelease: The following signatures were ...
3
votes
4answers
669 views

Parallel pausing and resuming?

I have a pretty strange thing I'm seeing as I run 8 GPG encryption jobs with GNU parallel: The command I've run is this: find . -type f -not -iname "*.gpg" | sort |parallel --gnu -j 8 --workdir "$...
2
votes
2answers
2k views

Pass, how to cache passphrase

I'm started to use unix password manager Pass Some passwords are not critical to me and I'm using them very often So it's became very annoying to me to type passphrase to get some password. Is ...
2
votes
0answers
144 views

Backing up GnuPG

I am not sure how to securly backup my .gnupg folder or to be specific my private key. I googled and found that people recommended just copying the whole .gnupg folder. Is there a safer way to Backup ...
2
votes
1answer
5k views

Unable to add a key to gpg

I'm trying to add a key to gpg: $ gpg --recv-key 12345 gpg: keyserver receive failed: No keyserver available Then I do this: $ gpg --list-keys gpg: /home/me/.gnupg/trustdb.gpg: trustdb created but ...
2
votes
1answer
2k views

Problem with gpg when using apt

I'm scratching my head to find a way to correct broken gpg stuff in apt. When i try to install Nodejs : curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash - sudo apt-get install -y ...
2
votes
1answer
3k views

Frustrated with aptly and GPG signing

We host some of our own software packages as debs in a repository of our own. For prototyping purposes, we’ve been running “unauthenticated”. Now we're trying to do things more correctly and do the ...
1
vote
1answer
434 views

Extract only the key(s) from GPG exported keypair

I have exported public and private keys to file with gpg --export and --export-secret-keys. When I examine them with gpg --list-packets. I can see that the file contains: the actual key the user ID a ...
1
vote
0answers
35 views

Installation of R [duplicate]

I want to know about how to install the latest version of R for linux mint First I tried the command: sudo gedit /etc/apt/sources.list Then I typed: sudo apt-key adv --keyserver keys.gnupg.net --...
1
vote
1answer
201 views

synchronising gnupg and pass

Is it a bad idea to syncronize ~/.password-store and ~/.gnupg folders between multiple machines? I'm trying to figure out a good password management solution. If somebody were to get the contents of ...
1
vote
1answer
107 views

GPG seems to alter imported keys

So I've never used gpg (2.0.14) before this week and I'm no cryptography pro, but the results I've been getting with gpg seem odd. When I import keys (e.g. gpg --import public.key) that were ...
1
vote
3answers
3k views

creating and sending a self-signed public key using GnuPG in CentOS 7

I know that I can create a GPG keypair from the CentOS 7 terminal by typing gpg --gen-key and following the resulting steps, but how can I make sure that the resulting public key is self-signed? And ...
0
votes
1answer
303 views

Trouble verifying linux, even after downloading key I get “No public key”

Following these instructions, I downloaded and unpacked the kernel. https://priyachalakkal.wordpress.com/2013/01/19/verifying-digital-signature-using-gpg/ Then I tried to verify the signature but I ...
0
votes
1answer
2k views

GPG error with http://volatile.debian.org : 'The following signatures were invalid: NODATA 1 NODATA 2'

I am currently trying to add a new repository to apt-get but it is not working. I'm adding it like this: deb http://volatile.debian.org/debian-volatile wheezy/volatile non-free Then I get this ...
0
votes
1answer
521 views

Synchronise passwords across devices with pass

I am looking for a simple, open-source password manager for linux with a CLI. It has to have a way of retrieving a password via the command line, so I can use it in several scripts (that sync my email ...
0
votes
1answer
600 views

How to import pgp keys from a search on an keyserver using curl?

Is there a standard method for searching and importing a pgp key using curl or wget? I was going through verifying the download with a gpg signed shasum256 file and encountered the problem of trying ...

1
2