All Questions
Tagged with openpgp encryption
30
questions
0
votes
0
answers
788
views
GPG Decrypt command not returning any output file
I generated gpg public and Private Key using gnupg (2.4.0) on windows cmd(let's call it: Source Machine) and encrypted a .csv file.
Now I am on DataBrick workspace and created cluster with following ...
1
vote
1
answer
491
views
How to encrypt a mail in Thunderbird?
I have been using PGP for a long time now but recently Thunderbird replaced the Enigmail encryption-plugin with a native PGP solution.
That's maybe good news, however, I cannot figure out how to ...
3
votes
1
answer
543
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 - ...
2
votes
0
answers
3k
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 ...
2
votes
1
answer
3k
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
1
answer
2k
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+...
0
votes
1
answer
158
views
Is using OpenPGP for long term encrypted files bad practice?
I've recently been playing around with GnuPG using a yubikey, and its very nice but I have some concerns I like to ask about.
PGP seems geard toward emails and short lived messages. Is the OpenPGP ...
1
vote
2
answers
787
views
GnuPG: Add passphrase to passphrase-less key
I've created my PGP keypair using an online site.
The thing is, I didn't provide a passphrase upon creation; The site didn't make supplying a passphrase mandatory.
Since this key is passphraseless, ...
1
vote
1
answer
300
views
Do I need a PGP key?
I've recently got familiar with the concept of OpenPGP public-private keys, and how to use GnuPG tool to manage PGP keys. I have three questions:
1- Is it necessary for me to have a PGP (or an ...
0
votes
2
answers
159
views
Unable to descrypt mp3 file via gpg
I'm trying to decrypt a binary/mp3 file of 100Mb of size.
gpg2 --decrypt my_audio.mp3.gpg
And it results into a long binary text in the terminal and it won't create a pure mp3 file:
binary text
...
0
votes
1
answer
93
views
When should I backup my primary OpenPGP key?
When should I backup my primary OpenPGP key?
I recently generated an OpenPGP key using the following setup (output of gpg2 --list-keys):
pub rsa4096/KEYIDSC 2017-10-19 [SC]
uid [ultimate] ...
8
votes
1
answer
3k
views
How to use GnuPG to get the smallest possible output (symmetric encryption)?
I'm trying to produce very small OpenPGP-encrypted files that can be embedded into QR codes.
However, in comparison to for example OpenSSL, GnuPG seems to produce very large results for a simple ...
3
votes
1
answer
2k
views
Why does PostgreSQL's pgp_sym_encrypt return different output although invoked for the same input?
I am getting different results while executing PostgreSQL's pgp_sym_encrypt command with same plaintext and passphrase as input. When decrypting those different results with the same passphrase, I get ...
0
votes
1
answer
246
views
sFTP Encoding in Cleo VLTrader
I want to secure a zip file using Base64 OpenPGP encryption. some application have the option in command line, I wonder if such feature is available in Cleo VLTrader's GUI?
4
votes
3
answers
1k
views
Handling and security of GnuPG private key
I am new GnuPG, thus, this might be a silly question. Yet:
I want to encrypt my emails, thus using gpg4win. Alongside I use Kleopatra, a tool for creating my own certificates and managing the public ...
2
votes
1
answer
4k
views
How to encrypt and sign a file using OpenPGP on Mac
I fear I may have sent a message without encryption when I thought it was being encrypted and signed. I don't use OpenPGP on a Mac too often (I can't remember the last time), so I'm trying to ...
-3
votes
1
answer
2k
views
Remove unnecessary under-the-hood GPG public key cryptography
Background:
Some existing programs, such as git-annex (git-annex encryption) and pass, delegate cryptography to GPG, "a complete and free implementation of the OpenPGP standard". More ...
2
votes
1
answer
1k
views
Are OpenPGP-encrypted files vulnerable to data corruption?
I have used GnuPG to encrypt some long-term backups, but I am concerned whether over time data corruption might make it impossible to recover the archives.
Can you decrypt partially corrupted OpenPGP ...
1
vote
1
answer
11k
views
GPG2 Encryption - No public key error
When I generate my keys using
gpg2 --gen-key
and then I try to try to encrypt the file using
gpg2 --batch --yes -r [email protected] --always-trust --homedir . -e test.text
I get an error "...
5
votes
3
answers
2k
views
How does public/private key cryptography work, who generates the key pair?
I have a requirement to encrypt a file, get it to an external partner who will then decrypt the file using a key.
My "basic" understanding is that I can generate the public and private keys, encode ...
1
vote
1
answer
37
views
Another people's OpenPGP key in my computer?
Today, when I executed gpg --list-keys, I saw another people's key list here. I search in seahorse, but can not find it.
Is this key stored in my pubring.gpg file?
I only have one OpenPGP key for ...
1
vote
1
answer
4k
views
How to query for all recipient OpenPGP keys with GnuPG?
I cannot find a reliable method for asking gpg the list of (public) keys used to encrypt a given file. One plausible solution doesn't work for me -- it never lists my key:
gpg --list-only --no-...
0
votes
3
answers
4k
views
How to remove OpenPGP private keys from computer?
As the title reads, I wonder how I could securely, physically remove my private keys from my computer. I can't seem to find a way to do that on Kleopatra. These keys I'm talking about are used for ...
0
votes
1
answer
974
views
Is it possible to encrypt an email for two keys but the same email?
I started using Enigmail with Thunderbird to encrypt and sign my mails. It works fine with my brother and some other people.
Yesterday I got a reply from someone with whom I did communicate via ...
2
votes
1
answer
3k
views
Is GnuPG symmetric encryption vulnerable to brute force attacks on the passphrase?
The handbook suggests that symmetric encryption is appropriate (and therefore not less secure than public key encryption?) when only you need to access the plaintext. But according to this post, ...
3
votes
1
answer
95
views
Should my OpenPGP key used for storing documents in the cloud expire?
I plan on doing a mass migration of all my local files to various cloud services since space is pretty cheap these days.
I figure I should probably encrypt my data before I upload it, which is better ...
1
vote
1
answer
3k
views
GPG 2 decrypt from STDIN via pasting inconsistency
Does anyone know why in some cases you can do this:
gpg2 -d
And paste your GPG message into the terminal, type ctrl+D, get prompted for your passphrase and get the results to STDOUT? But in other ...
0
votes
1
answer
161
views
What's the standard (or accepted) method to use several encryption subkeys in GPG?
I would like to create for myself an offline main key with three subkeys.
for signing
for encryption on standard computer which I hope to be able to secure better
for encryption (and consequently ...
0
votes
1
answer
518
views
How to rebuild the gpg web of trust when all keys are expired?
Long story short, one of my machines hasn't been updated for a while, and the gpg keys it has for key servers and apt repositories have all expired. If possible, I would like to restore them to a ...
0
votes
2
answers
2k
views
GPG4WIN Keys and Transferring them
I have installed www.gpg4win.org and have generated a keys that will allow me to both sign and encrypt files. On windows it uses the (KDE) / Kleopatra Certificate Manager - Version 2.1.0.
What is the ...