Questions tagged [gpg]

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

162 questions
3
votes
1 answer

Importing GPG Key

I have problems importing my GPG-Keys into my new installation of debian. I exportet the private-key a few years ago. Now I am trying to get everything running under a new debian. I tried to do gpg --allow-secret-key-import --import…
bitboxer
  • 201
  • 2
  • 8
3
votes
1 answer

Can't connect to server via SSH using gpg-agent

I'm trying to connect to a VM on Google Cloud. I've created a public key to use for SSH and added the key to the cloud instance. I have SSH_AUTH_SOCK set to the file used by gpg-agent. ~/.gnupg/gpg-agent.conf default-cache-ttl 600 max-cache-ttl…
2
votes
3 answers

Suppress GPG "Reading passphrase from file descriptor 0" message

Simply, how can I make GPG not print that message? Here are the commands I'm using: echo "test input" > test.in echo "test" | gpg -q -c --passphrase-fd 0 --output test.enc --yes --force-mdc test.in echo "test" | gpg -q -d --passphrase-fd 0 test.enc…
Paul Tarjan
  • 569
  • 3
  • 8
  • 17
2
votes
1 answer

gpg: no valid OpenPGP data found

I am trying to make sense of the following two serverfault posts: How to verify a file using an asc signature file? and gpg --import bind-9.9.4.tar.gz.sha1.asc fails with no valid OpenPGP data found In my case here is what I do : $ wget…
malat
  • 196
  • 2
  • 11
2
votes
1 answer

What is the Devuan equivalent of the Debian debian-archive-keyring package?

Debian keeps the keys required for a successful multistrap installation in a package called debian-archive-keyring. (Multistrap is like debootstrap, but it can install packages from multiple repositories - e.g. the official repo plus your own…
fadedbee
  • 2,068
  • 5
  • 24
  • 36
2
votes
1 answer

How to get only the pub part of gpg --list-public-keys?

Okay, there is probably a better way to phrase this question. I am writing a script to configure my web servers on the first boot, but I hit a snag when generating the GPG key that will be used to encrypt backups with duplicity. I am using this to…
user497477
2
votes
1 answer

How to setup logrotate with GPG to encrypt for GDPR?

As per GDPR all private data should be encrypted, so I need to encrypt all logs and retrieve them for auditing. I have chosen to perform the encryption during log rotation and to use GnuPG as my encryption method, but don't know how to invoke the…
2
votes
3 answers

Best PGP/GPG Encrypt/Decrypt Script

Is there are good default python or simple shell script that I can use to encrypt and decrypt files via PGP/GPG? I would be running this script every 5 minutes.
Daniel
  • 3,791
  • 7
  • 33
  • 34
2
votes
1 answer

GPG signed aptly repository not working as expected

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 whole GPG thing. What I’ve tried, just for test run…
2
votes
1 answer

Signing debian repository: Avoided SHA1, apt-get update still complaining about weak digest

I maintain a small debian repository for my employer, and we have been facing issues lately due to the SHA1 deprecation. We sign our packages with a 4096bit RSA key. For signing the repository, I used this GPG…
ronin667
  • 133
  • 6
2
votes
3 answers

Encrypt backups with GPG to multiple tapes

Currently, I use tar to write my backups (ntbackup files) to a tape drive fed by an autoloader. Ex: tar -F /root/advancetape -cvf /dev/st0 *.bkf (/root/advancetape just has the logic to advance to the next tape if there is one available or notify…
Dan
  • 1,278
  • 18
  • 27
2
votes
2 answers

EPEL Repo GPG Key Working?

I followed the below steps to grab the EPEL GPG key and I'm trying to verify if it's working. This is on a freshly installed RHEL7 system. Repo: https://dl.fedoraproject.org/pub/epel/7/x86_64/ # cd /etc/pki/rpm-gpg/ # wget…
hashwagon
  • 67
  • 1
  • 8
2
votes
2 answers

Allowing multiple users to decrypt pgp emails for one email-address

me and my business partner each have our own company email address for which we use PGP. This allows us to communicate safely with our customers. However in order to communicate securely, the sender already has to know our personal email addresses.…
Tim
  • 123
  • 4
2
votes
1 answer

Bad RPM Signatures

I'm trying to set up a repo that contains both CentOS 6.4 and 5.9 packages. The machine itself is 6.4. I've created a GPG key and have been able to sign my 6.4 packages no problem. When I create them for 5.9 though I get header errors. I realize…
user165222
  • 125
  • 3
  • 9
2
votes
1 answer

How can I speed up my Duplicity backup?

I need to perform onsite backups of hundreds of gigabytes from a few Xen VMs to some storage available on a dedicated server in the same network, with a Gigabit connection. The data is mostly MySQL data - I use Percona XtraDB Cluster - backed up…
Vito Botta
  • 327
  • 1
  • 7
  • 14