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
1 answer
37 views

GPG: Which key is GPG exactly using for encrypting and decrypting?

Sometime back I installed GPG and been using it to encrypt files and text. Command used to encrypt: gpg -c file.zip > file.zip.gpg Command used to decrypt: gpg -d file.zip.gpg > file.zip Till ...
We are Borg's user avatar
0 votes
0 answers
15 views

GPG allows importing an invalid secp256k1 public key

I came across a PGP public key that seems invalid. The key is a secp256k1 public key that supported by GPG. In fact, GPG allows importing that key even if it has an invalid secp256k1 public key inside....
Andreas Tzionis's user avatar
0 votes
0 answers
33 views

How do I tell pass to update my key if `pass init` isn't working?

I am trying to use pass again after a longish lull, and it was (reasonably) complaining that my gpg key was expired. I used the instructions at Can you extend the expiration date of an already expired ...
Amanda's user avatar
  • 272
1 vote
1 answer
130 views

How to make thunderbird automatically encrypt emails if possible?

When I start to compose a new email in Thunderbird, I want it to automatically enable the Encrypt button after I type a recipient's email address into the To field, if I have that recipient's PGP key ...
Michael Altfield's user avatar
0 votes
0 answers
111 views

Hacked Faceboook Profile and Encrypted PGP mail [duplicate]

Similarly to the issue Decrypting a PGP Message inside .asc file my FaceBook profil has been stolen (unknown e-mail added, set as "main e-mail" for FB, password changed, and my own e-mail ...
F.C.'s user avatar
  • 1
0 votes
0 answers
22 views

Managing signed commits as an organization

We are looking to introduce signing of commits into our company. Currently we are leaning towards using GPG kays, but we can consider SSH if what we want cannot be achieved with GPG. We are using a ...
user avatar
0 votes
0 answers
324 views

Kleopatra won't open

Out of the blue Kleopatha just refuses to open, I have dug through the internet and found nothing that works. I ran it as an admin and for some reason it shows in task manager that its there but ...
user avatar
0 votes
0 answers
142 views

Having trouble setting up HomeDir for GPG

According to Google to setup a new HomeDir (this is post installation) for Open Source GPG (PGP) you have to Copy the contents from the default folder which is C:\Users{Me}\AppData\Roaming\gnupg ...
Glen's user avatar
  • 101
0 votes
2 answers
205 views

Is there a way to import PGP keys *interactively* using GPG?

I'm using PGP since version 2.3a, and I had liked the interactive user interface of it. Specifically when opening a file with PGP keys, PGP asked me what I want to do with it, allowing me to confirm ...
U. Windl's user avatar
  • 514
0 votes
0 answers
942 views

Forgotten pgp passphrase - login to Docker

Is there any way to make Docker abandon pgp authentication? I've forgotten my passphrase and my key isn't on any key-server. I've tried to login using access token, but Docker still asks for pgp ...
user3565923's user avatar
0 votes
1 answer
371 views

What does "Authentication" mean creating key with Kleopatra?

What does "Authentication" mean creating key with Kleopatra ? (see image) The image is in french sorry, please help me
J. Doe's user avatar
  • 3
0 votes
1 answer
196 views

PGP disk passphrase not recognized

I have an external drive fully encrypted with Symantec encryption desktop software using a pgp key. It has been done 15 years ago. Today I try to access the disk, but it's not working. It doesn't ...
Fabrice's user avatar
0 votes
1 answer
213 views

GPG: Which password should be used to sign key?

I am learning to use GPG. I have made a keypair with the password "a" to make sure that I cannot mistype the password. Immediately after making it, I entered gpg --edit-key id gpg> fpr ...
Mikke Mus's user avatar
  • 153
-1 votes
1 answer
49 views

Can the public key be extracted from the message encrypted with it?

If I encrypt messages with Public Key, and give the recepient Private Key to decrypt it, can the recepient somehow extract the Public Key from the messages? I.e. is it OK to keep "Public Key"...
Dmitry's user avatar
  • 127
2 votes
2 answers
1k views

How to import OpenPGP Card / YubiKey backup encryption key

When I generate a new OpenPGP key on a YubiKey, it gives me the option to save a copy of the encryption key as a backup like so: $ gpg --edit-card Reader ...........: Yubico Yubikey NEO U2F CCID 00 ...
Brent Miller's user avatar
2 votes
1 answer
2k views

Given a public key in hexadecimal, how can I get an .asc file?

Given a public key in hexadecimal or base 64, how can I generate an .asc file for use with PGP programs? For example, let's say I have someone's RSA public key, in hexadecimal: 04 40 ad 77 10 45 08 f2 ...
Zaz's user avatar
  • 2,417
0 votes
2 answers
2k views

How to use pgp to send email?

So I was reading a post where it seems the author provides its email through a pgp. How am I supposed to use that pgp to send him an email? https://decovar.dev/about/#contacts
KcFnMi's user avatar
  • 584
2 votes
0 answers
118 views

Mutt PGP Error: "Could not decrypt PGP message" & "Could not copy message" on Ubuntu machine but works on macOS machine

Configuration files are identical on both machines since they are shared from a cloud drive. Messages sent as a test to myself from the Ubuntu machine 'can' be decrypted and read on the macOS machine ...
Tony Barganski's user avatar
2 votes
2 answers
416 views

How do i combine both "PGP signature" and "S/MIME signature" in one email?

Two is always better than one! Is that possible? If yes, any idea what application and configuration should i use?
NIRVANA101's user avatar
1 vote
1 answer
2k views

Can't Verify "PGP SIGNED MESSAGE" in Linux

gpg ver. 2.1.18; Debian Stretch Public key duly imported from https://cygwin.com/key/pubring.asc I downloaded a pair of cygwin installation files from https://cygwin.com/install.html and they passed ...
Digger's user avatar
  • 141
2 votes
1 answer
727 views

Is it possible to send a PGP encrypted e-mail without sender's PGP key in Thunderbird?

I have a public PGP key of a recipient and I want to send an encrypted e-mail to them with Thunderbird. I don't have a PGP key pair myself. Is it possible to encrypt and send this e-mail with ...
jabaa's user avatar
  • 132
0 votes
1 answer
912 views

For Cybersecurity Newbies: How do I download the .asc file to verify a detached signature with Kleopatra

I am new in the world of cybersecurity, and I am attempting to install Nmap and Zenmap. Before I open the executable file to install Nmap, I want to verify the detached PGP signature through Kleopatra....
SeraphsWrath's user avatar
1 vote
0 answers
129 views

Decrypt >4GB files on Windows

I am trying to decrypt a bunch of large encrypted files (some are > 4GB) on Windows 10 (64 bit). I have been given the instructions to double click on each file then a "PGP Self Decrypting ...
Blue482's user avatar
  • 45
20 votes
2 answers
6k views

Should I create separate GPG key pairs or just one GPG key pair for multiple uses (e.g. email, sign commits)?

Would it be better to create a GPG key pair for each use case or is it considered best practice to create just on GPG key pair for multiple use cases? Here are my reasons for using GPG keys: to sign ...
jsstrn's user avatar
  • 303
0 votes
1 answer
1k views

How to encrypt the PGP symmetric key (passphrase) with following options?

I'm working on PGP symmetric key (passphrase), below options should be used to encrypt the file, Symmetric-Key Algorithm should be 9 (AES-256) compression Algorithm should be 0 (Uncompressed) Hash ...
vikas95prasad's user avatar
0 votes
0 answers
104 views

Linux data forensics: restore pgp-encrypted file deleted with shred command

Once I deleted several files by using "shred" linux command. Those files where pgp-encrypted, I have both public and private keys and I think I still remember the passphrase I used to ...
user2139962's user avatar
0 votes
1 answer
480 views

Where does Windows store the secring?

I can't find where GnuPG located my secring (actually, I can't find any gpg files, onlykbx files), as all I have in %AppData%\gnupg is:
LaMere's user avatar
  • 1
0 votes
0 answers
735 views

Generate GPG key without saving to keychain

I am trying to generate a GPG key with gnupg. However, instead of exporting the secret key to a file, I am trying to pipe it to another program (keybase pgp import) that will process it. Right now, I ...
Ben Zelnick's user avatar
1 vote
0 answers
271 views

Best strategy after losing GPG/PGP key passphrase (but still access to YubiKey)

When I got my first YubiKey several years ago, I created a new GPG key specifically for it. After uploading the private key to the YubiKey (keytocard), I also stored an armored copy of the private key ...
nisc's user avatar
  • 1,082
1 vote
0 answers
61 views

Which PGP key does thunderbird 78 choose for encryption?

In our project, we use thunderbird 78 and PGP for encrypted mailing. On my computer, there are two PGP keys valid for the same email-address, both not expired and marked as trusted absolutely. One was ...
kinnla's user avatar
  • 161
0 votes
1 answer
388 views

Finding the right PGP key for decryption

I have around 50 secret Keys on my Old Server and I have been running script to decrypt the file c:\gnupg\gpg.exe --passphrase-fd 0 --decrypt --quiet --batch --output "xx.txt" "xx.txt....
Sami Ather's user avatar
5 votes
1 answer
515 views

How to get a PGP RSA key pair with a "rare" fingerprint, e.g. one that begins "ABBA"? (Windows 10)

On Windows 10, how can I automate the generation of PGP RSA key pairs, dumping each one if the 40 hex-character fingerprint doesn't begin ABBA (for example), stopping when a generated pair meets that ...
tell's user avatar
  • 51
0 votes
0 answers
1k views

How to create PGP-signed textfiles using Kleopatra GUI for Gpg4win that include the message en clair before the signature?

I am using Gpg4win with the Kleopatra GUI on Windows 10 Pro. When I use my private key to sign a textfile the program produces a signed textfile that authenticates properly using my public key. But ...
user avatar
2 votes
1 answer
688 views

How to cryptographically verify the authenticity and integrity of Microsoft Windows .iso releases (with gpg?)

For a given Windows release published by Microsoft, how can I cryptographically verify the authenticity and integrity of the .iso file that I downloaded before I copy it onto a USB drive and attempt ...
Michael Altfield's user avatar
2 votes
1 answer
3k views

Why does gpg's secret and public key have the same keyid?

On my Windows machine running Cygwin, When I run gpg --list-keys --keyid-format LONG gpg --list-secret-keys --keyid-format LONG Both the pub and sec keys have the same value. sub and ssb have the ...
Monke's user avatar
  • 47
5 votes
1 answer
566 views

How can I connect a PGP certificate to an email address in Thunderbird?

Is it possible to assign a public key from your key manager to a particular email address so that Thunderbird 78.6.0 automatically uses that key to encrypt when that email address is in the "To&...
Dave Scotese's user avatar
3 votes
1 answer
411 views

GPG subkey seems to have different password

I have recently created a new OpenGPG key with Thunderbird and exported it to use it with gpg. However, I cannot decrypt anything outside Thunderbird because my subkey - which is used for encryption - ...
JoJota's user avatar
  • 33
0 votes
0 answers
127 views

What are the use cases for a certification PGP subkey?

What are the use cases for a certification only PGP subkey? I am not sure if GnuPG supports it but I know Sequoia does.
dblouis's user avatar
  • 341
0 votes
1 answer
875 views

Libre Office Sign a PDF with PGP key

I'm currently facing an issue with the "Sign" feature of Libre Office. I can digital sign my ODT files without a problem. That means I can select my pgp key in the list of keys and sign the ...
White's user avatar
  • 11
1 vote
1 answer
795 views

How can I tell what version of PGP a public key uses?

Let's say I have various keys, some adhering to PGP 5, others to PGP 2, and maybe some were made with the original PGP. How should I go about discerning this?
Alex V's user avatar
  • 111
1 vote
1 answer
320 views

Do I need a key pair to encrypt with gpg if there is no recipient?

I want to encrypt a file and be able to decrypt/encrypt it again only for me to use that file. If I use a key pair to encrypt the file, then I need to move the key files around to new devices if I ...
Grass's user avatar
  • 23
0 votes
0 answers
56 views

PGP keyserver for closed work group

I am looking for a PGP key server for our university work group. It is a closed work group so I do not need a public key server. Also I want to avoid to install and administrate our own server. I ...
Silicomancer's user avatar
2 votes
1 answer
2k 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 ...
Alex's user avatar
  • 235
2 votes
1 answer
5k 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 $ ...
not2savvy's user avatar
  • 521
1 vote
1 answer
465 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 ...
Michael Cornn's user avatar
0 votes
1 answer
195 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 [...
Vivarto's user avatar
  • 305
0 votes
1 answer
7k 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 ...
noideawhattoenter's user avatar
2 votes
1 answer
690 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 ...
WinGNU's user avatar
  • 21
0 votes
2 answers
634 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 ...
user5534993's user avatar
1 vote
1 answer
8k 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 ...
Arif Coskun's user avatar

1
2 3 4 5
7