Questions tagged [pgp]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
7 views

pgp key generation failure saying can't open key rings

I'm using pgp 6.5.8 for file encryption and trying to create the keys using the command pgp -kg and it gives me the error message as "can't open key rings. keygen failed. Insufficient random ...
0
votes
0answers
10 views

How to identify which OpenPGP version being used in CuteFTP

I am trying to do PGP Encryption using Java Bouncycastle and Decryption using CuteFTP OpenPGP in-built mechanism and the result is - its failing due to CuteFTP unable to read the file. Seems its ...
0
votes
0answers
10 views

How can I remove a cert notation from a pgp key?

I added a notation to one of my PGP keys. I want to remove it. The man page for GnuPG has the following man entry: -N, --notation-data name=value Put the name value pair into the signature as ...
0
votes
0answers
38 views

Is it possible to verify a GPG file signature on Linux & Windows without internet connection?

Can you please hint me to the steps I need to verify a file's signature (without connecting to the Internet) on command line using GnuPG, when I have the three required files ready: installer file (....
0
votes
0answers
13 views

Git repos and subkey expiration

I sign all of my commits for all the git repositories I use. I also enforce pretty strict security and only keep subkeys on my computer (and my master safely stored elsewhere) and I have my subkeys ...
1
vote
1answer
44 views

Encrypt to PGP from OpenSSL

I have a tool that takes an RSA public key (e.g. OpenSSL PEM format key), encrypts a message to that public key, then returns the encrypted message. I'm going to be sent a PGP public key and need to ...
0
votes
1answer
84 views

How to find out symmetric encryption algorithm used in PGP encryption (with GPG)?

I would like to be able to check which (inner) symmetric algorithm was used to encrypt a file with GPG using a public key. Somewhere I've read this can be done with --list-packets, so I tried $ ...
0
votes
0answers
57 views

Accidently deleted “~/.gnupg/pubring.kbx” , how to recover keys

is there is any way to recover the encryption keys in this case, since they really important 1) the issue: i've lost my gpg key identifiers by deleting ~/.gnupg/pubring.kbx , however ~/.gnupg/...
0
votes
0answers
17 views

Cannot find key of PGP bot

I'm trying to configure Thunderbird with Enigmail following the Email Self-Defence Guide, but I cannot find the public key of GnuPG bot. email: edward-en@fsf.org
1
vote
1answer
19 views

GPG difference between signature and clear signatue

I made a file named 1.txt. It has three lines of text. I ran "gpg --clear-sign 1.txt". That created a file named 1.txt.asc. When I opened the file in Notepad, it was readable. It had the three lines ...
0
votes
0answers
41 views

RSA/RSA ./. RSA Legacy

In my old pgp-List I see different Keys: RSA/RSA 2048/2048 RSA 2048 I can't get the RSA Legacy (just that with 1 RSA) into my GPG-Key-List (Kleopatra). What can I do? I need them because I have ...
0
votes
1answer
41 views

Using GnuPG; I enter one keyID for “edit key” command and then get a different key in the “edit” menu

Please help me to understand what is happening. On command line in Windows I learn that my key is 4096 and expires on 2020-07-31 C:\Users\Vivarto>gpg -K C2EBD198 sec 4096R/C2EBD198 2018-08-04 [...
0
votes
1answer
295 views

How do I get the “user name” field from a public key block with GPG?

The fact that I have to ask about this after plowing down so many hours into this already tells me that at least one of these two statements is true: I'm doing something horribly wrong. PGP/GPG is an ...
1
vote
1answer
147 views

How does GPG internally determine which key(s) to try to decrypt a given input encryption blob with?

I've been wrestling with GPG lately, and I have just (finally!) got it working. I can now input an encrypted blob to gpg.exe and it will output the plaintext version, assuming that it's a valid ...
0
votes
2answers
101 views

How to automatically obtain keys in Evolution for e-mail recipients? (key discovery)

I am using the PIM Evolution 3.22.6 for e-mail and contacts. For encrypting e-mails gpg (GnuPG 2.1.18) is used by Evolution. How can I configure my system such as when I compose an e-mail the PGP ...
0
votes
1answer
1k views

Store pgp keys in azure key vault

I want to transfer encrypted file from SFTP server (Ubuntu) to azure storage using azure data factory pipeline. Customer is using PGP to encrypt file at rest and push them to sftp server. so the file ...
1
vote
0answers
82 views

Debuild gpg sign failed no secret key

I've exported my key (through seahorse GUI) to key.pgp and imported on another Pc through the seahorse GUI on Ubuntu. After that I can't use this key for signing my deb package when running debuild -S ...
0
votes
0answers
23 views

GPG signing & encrypting a file as a two step process

I understand that signing and encryption can be done using a single command. gpg --cipher-algo AES256 --always-trust --encrypt --sign --passphrase Test@123 --recipient Recipient_1 test.txt I also ...
0
votes
0answers
35 views

GPG fatal error not enough space

I have been trying to generate a PGP key of 16k size on windows 10, But keep getting get this error: not enough space. Should I upgrade my laptop's RAM? what should I do to circumvent this error?
0
votes
1answer
19 views

1:1 PGP key requirement

We have a single encryption key in place for use by our business partners globally. This contains the main signing key as well as the encryption subkey. We have now run into a situation (with a bank) ...
3
votes
0answers
204 views

Is it possible to use macOS 'Keychain' + 'TouchID' for pinentry-program?

Is there some way of configuring pinentry-mac, which I currently use to enter the passphrase for my OpenPGP card (a Yubikey), or a different program that'll store the passphrase in the macOS 'Keychain'...
0
votes
1answer
26 views

Downloading pgp encrypted files from an FTP server

I need to receive client data from a supplier via FTP. The way this process is supposed to work is that I connect to the supplier's network via VPN, then connect to the FTP server and download the PGP-...
4
votes
1answer
1k views

Why is it that pgp keyservers do not respond when I request keys?

I tried the Linux command line (bash 4.4.23 on Arch Linux kernel 4.18.16) with various key servers: $ gpg -v --keyserver subkeys.pgp.net --recv-keys F434104235DA97EB gpg: using character set 'utf-8' ...
0
votes
1answer
382 views

Decrypt PGP message with private keys but forgotten passphrase

I forgot the passphrase of my PGP, but I have the private keys. Is there any "easy" method which doesn't take years to decrypt the PGP message?
0
votes
0answers
143 views

Revoke user ID from revoked gpg key?

Being a total gpg noob, I fooled around generating keys on my ubuntu pc and copying those keys to the OpenKeychain phone app. I managed to successfully revoke a key from the app, so now that key sits ...
1
vote
2answers
223 views

Why does Keybase not include my public PGP key fingerprint in my GitHub proof?

I have set up a Keybase identity and added my PGP public key, seen here. When validating my GitHub identity the text Keybase provides me includes the line I have a public key ...
1
vote
1answer
488 views

Which of my GPG public keys should I be publishing? Primary, subkeys, all?

Original question I have been learning about GPG and the use of subkeys. I feel I have developed a good understanding of the benefits of using subkeys and keeping your primary key offline, but there ...
0
votes
0answers
38 views

Is there a maximum number of subkeys in GnuPG?

The GnuPG documentation describes a process to generate subkeys for a gpg-master-key with the option to have different validity settings for subkeys. This works perfectly for a small amount of subkeys,...
2
votes
1answer
735 views

Sign only using GpgOL in Outlook

I currently have the Outlook plugging GpgOL which lets me encrypt/sign emails using an OpenPGP encryption key. Is it possible to somehow remove the encryption option or somehow hide the encryption ...
1
vote
1answer
779 views

GnuPG package: Difference between pgp and gpg

I feel there's a not much of general user friendly content on the internet about GnPG and it's utilities. At least I couldn't find any to my satisfaction. It's probably because people (except ...
0
votes
1answer
48 views

shell: pgp: not found

I installed pgp on one of my AIX machines (AIX 7.2). When I try to run pgp from my id I get the below error: $ pgp shell: pgp: not found. But this works as expected using root account. Can ...
2
votes
1answer
2k views

Backing up PGP key pairs

I am new to PGP and have created a keypair using Kleopatra. The public key is now published on certain sites so ppl can message me securely. The private key is held in Kleopatra software and when I ...
3
votes
1answer
628 views

Unable to delete private subkeys in GnuPG if no master key present

I have a GnuPG key pair with a master key (only Certify capability) and 3 subkeys (Sign, Encrypt and Authenticate capabilities respectively). Actually, when I start, I only have the private keys of ...
1
vote
1answer
3k views

Trying to verify a download signature with PGP, but getting “no signed data” when passing in the .asc file?

I tried the following steps from Verifying Signatures on the Tor Project: gpg.exe --keyserver pool.sks-keyservers.net --recv-keys 0x4E2C6E8793298290 imported: 1 gpg.exe --fingerprint ...
0
votes
1answer
304 views

Filezilla on Mac: yubikey authentication?

I am trying to connect to a remote server over ssh using a YubiKey smartcard device. The device contains a GPG authentication key to be used. This works flawlessly on commandline, but I cannot get ...
0
votes
3answers
45 views

I forgot what I used to encrypt a file, what can I do?

I have a file I'm needing to decrypt, but my operating system was reinstalled and I don't remember which software I should use to decrypt it. Fortunately, the data is still preserved, including what I ...
0
votes
0answers
1k views

Convert GPG private key to QR code?

How can I generate a QR code from a OpenPGP/GnuPG private key on Windows 7? Context: I created a private key pair on a Windows computer and want to import the key to my phone. The phone app has ...
1
vote
1answer
568 views

How to convert gpg4win's binary to ascii, with Notepad++

I can reliably convert gpg4win's ascii to binary using Notepad++ option "Base64 Decode" (credit: James K Polk). Works every time. But when I attempt the reverse, i.e. convert binary to ascii, it ...
0
votes
1answer
436 views

How to convert gpg4win's ascii to binary?

gpg4win can save and read encrypted files in two forms: Binary with .gpg extension Base64/ascii with .asc extension Is there a way to convert the Base64/ascii output to binary? I tried with Notepad+...
19
votes
3answers
10k views

I got “BEGIN PGP PUBLIC KEY BLOCK” attached to an email and I don't know what it is [duplicate]

Okay, I have no clue what this is, but I just received an email that has this in it. -----BEGIN PGP PUBLIC KEY BLOCK----- [redacted] -----END PGP PUBLIC KEY BLOCK----- If this means something, ...
0
votes
0answers
2k views

gpg decryption failed: no secret key

I have copied my PGP key pairs on a newly installed ubuntu server. But they are not working: I get the error "operation cancelled" when trying to decrypt a file: $ echo TEST | gpg -e -a -r emanuele....
1
vote
1answer
321 views

How to verify sks-keyservers HKPS certificate?

I’m trying to make sense of how PGP is supposed to be used securely, but coherent and helpful information on the subject is surprisingly hard to find. So, SKS keyservers provide their HKPS ...
9
votes
3answers
9k views

gpg remove passphrase

I want to remove the passphrase from gpg key after creating it. Why? . Because the tigase-kontalk documentation says so and I want to compile and setup my own version of this server . But am stuck at ...
1
vote
0answers
187 views

gnome-keyring can't clear passphrase

Under Ubuntu 18.04, gnome-keyring caches PGP passphrases and will retain them, even through logout or reboot. I'm using the program pass to retain my passwords, so I want to be challenged every time I ...
0
votes
1answer
2k views

“gpg: keyserver receive failed: No route to host” error when running 'yay'

I'm fairly new to Arch Linux, and trying to update my packages. I'm running the latest version of Antergos. Using yay with no arguments, it mostly goes well, up until this: ==> PGP keys need ...
3
votes
1answer
600 views

What is the cryptographic purpose of the gpg “--enarmor” command?

The gpg command "--enarmor" or "--enarmour" gpg2 --enarmor /home/none/testing.asc creates a file with a .gpg extension such as: -----BEGIN PGP ARMORED FILE----- Comment: Use "gpg --dearmor" for ...
1
vote
0answers
386 views

Can one get gpg's s2k functions to work fully?

According to RFC 4880, String-to-key (S2K) specifiers are used to convert passphrase strings into symmetric-key encryption/decryption keys. They are used in two places, currently: to ...
0
votes
1answer
552 views

Verifying/decrypt email using PGP signature/public key

UPDATED QUESTION: Using Outlook 2013 64bit on Windows 7 64bit, I have setup GnuPG which allows me to send encrypted emails. To do that, I asked someone for their public key. I sent them an email ...
1
vote
0answers
43 views

GNUPG - Creating a subkey in a single command

With the following commands: gpg --edit-key [KEY] gpg> addkey # Add a new key gpg> 4 # RSA (Sign only) gpg> 4096 # Keysize gpg> 0 # Expiration gpg> y # Correct? gpg> y # Really ...
1
vote
1answer
993 views

Uploading PGP keys to keyserver

I recently got a new ID and decided to activate the eID function. Among other things it allows you to have your public key verified by a trusted source. So, I tried to do that, but it told me that it ...

1
2 3 4 5 6