Questions tagged [gpg]

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

162 questions
0
votes
1 answer

Why duplicity asks password for decryption even if .gpg files are encrypted with GPG key?

I created a backup with duplicity with GPG encryption used by below command. When I want to restore a file duplicity asks password for decryption. Any idea why? I use YubiKey 5 to store my GPG private key so it is not password protected, moreover,…
Halacs
  • 103
  • 4
0
votes
1 answer

gpg stripping trailing whitespace from text files

I'm gpg encrypting text files that contain fixed-character length lines of data. The client requires the ends of each line have a specific amount of trailing whitespace. When I gpg encrypt the files, that whitespace is removed. How can I preserve…
pmilkman
  • 33
  • 3
0
votes
1 answer

gpg certify key public key getting export along with sub-key public key

I am using gpg. My keyring structure is explained below. I have a certify key under that I have Encryption sub-key Authentication Sub-key In order to export the sub-key following steps are executed step-1 This command will list all the public key.…
Vipin
  • 101
  • 1
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…
0
votes
2 answers

Encrypted files stored next to GPG Key in backup – alternative solution?

During a recent test run to see if my personal backups work as intended, I noticed that I store my GPG key next to files encrypted with that key on the same disk. Although the disk is encrypted (LUKS) and the key has a strong passphrase, this feels…
Sven
  • 151
  • 1
  • 1
  • 3
0
votes
0 answers

GPG import skips public key in file (no user ID)

On computer-a a key is generated, linking it to email aaaa@bbbbb.com, using command gpg --gen-key Then it is exported using command gpg --export -a --output public.asc aaaa@bbbbb.com The file is transferred to computer-b using command scp…
i723
  • 1
  • 2
0
votes
1 answer

Is it possible to setup msmtp for proper authentification in a Dockerfile?

I am running a php:7.2-apache container and I want to send mails. As ssmtp is retired, I want to use msmtp but I face authentication problems with msmtp. My goal: Setup msmtp for a docker container such that the container works out of the box (i.e.…
Bluescreen
  • 11
  • 1
-1
votes
1 answer

File encryption when limited in storage

Assume: On Linux server we have limited free space. The task is to create archive of a folder (for example /var/www), encrypt it and upload to remote location keeping original unencrypted file in place. Everything works fine for relatively small…
Alexey Kamenskiy
  • 794
  • 1
  • 9
  • 23
-1
votes
1 answer

LAMP webmail with PGP/GPG support?

I've been asked to configure webmail for a company whose business is centred around their intellectual property - which is the rationale why we're using webmail, and not a client based email reader to access an internal only IMAP server. The other…
-1
votes
1 answer

How to generate a dummy GPG key by running a script for testing purposes?

I would like to create a GPG key for testing Nexus3 and N3DR. When I follow instructions like these, a key gets created and it could be used in the Continuous Integration (CI) as well. The question is how to create such a key while running a script.…
030
  • 5,901
  • 13
  • 68
  • 110
-2
votes
1 answer

How fast is decryption by a YubiKey?

Do YubiKeys decrypt GPG or SSH/SFTP data directly within themselves? If so, would that cause a bottleneck? Do YubiKeys have accelerated AES hardware that does most of the heavy lifting of decryption? Also, YubiKeys aren't needed when encrypting to…
andrew-e
  • 186
  • 5
-3
votes
1 answer

How to view a GPG encrypted file securely?

When I decrypt / view a gpg file it is: decrypted in the terminal / console and thus gets into history the decryption goes into video memory and into normal memory and into the swap (if not enough memory) and into the hibernation file (if you…
CharlesS
  • 229
  • 1
  • 7
1 2 3
10
11