
encryption - What is the default cipher algorithm for GnuPG ...
Apr 18, 2015 · TL;DR: For GnuPG 1.0 and 2.0, default is Cast5, for GnuPG 2.1 it is AES-128. Recipient's Preferences. Per default, GnuPG will read the recipient's algorithm preferences and take the first algorithm in that list it supports (in other words, it takes the most-preferred supported algorithm the recipient asks for).
encryption - gpg --encrypt fails - Information Security Stack …
gpg --export --armor --export-options export-clean,export-minimal --output pubkey.asc When I imported the public key on the new computer, the output was: gpg: Total number processed: 1 gpg: new subkeys: 1 gpg: new signatures: 4 I could then use the key just fine for encrypting a file.
gpg encrypt file without keyboard interaction - Stack Overflow
Feb 27, 2012 · As David intimated, the problem here is that gpg doesn't trust the public key you're using to encrypt. You could sign the key as he explained. An alternative--especially if the key might be changing occasionally--would be to tack on --trust-model always to your gpg command. Here's the relevant bit from the man page:
How to do PGP in Python (generate keys, encrypt/decrypt)
Although originally part of PyCrypto, it is completely independent of the other parts of PyCrypto and needs only gpg.exe/iconv.dll in order to work. I have a version (gnupg.py) derived from Traugott's GPG.py, which uses the subprocess module. It works fine under Windows, at least for my purposes - I use it to do the following:
Can't check signature: public key not found - Stack Overflow
Aug 1, 2014 · I try to decrypt file using following command: gpg --output file.txt --decrypt file.pgp File is decrypted successfully but i get an error: "gpg: Can't check signature: public key not found" Any ...
GPG encryption and decryption of a folder using command line
Use gpg-zip. Encrypt the contents of directory mydocs for user Bob to file test1: gpg-zip --encrypt --output test1 --gpg-args -r Bob mydocs List the contents of archive test1: gpg-zip --list-archive test1 This is an example directly from Encrypt or sign files into an archive. If you read that page in detail it will help you out a lot. Solution 2:
encryption - gnupg: There is no assurance this key belongs to the …
Oct 27, 2015 · gpg --edit-key <KEY_ID> gpg> trust You will be asked to select the trust level from the following: 1 = I don't know or won't say 2 = I do NOT trust 3 = I trust marginally 4 = I trust fully 5 = I trust ultimately m = back to the main menu
How do you verify an encrypted and signed file with gpg?
Dec 13, 2019 · gpg -vi --output signed.gpg --unwrap signed_and_encoded.gpg which does the first step, i.e., decrypting. The produced file is now decoded and contains the signature. This shows that the product of gpg --sign --encrypt file cannot be verified without decrypting
gnupg - GPG encryption failed - Unusable public key - Information ...
Oct 9, 2019 · I was trying to encrypt a file using a GPG public key. It's working fine on my test server which is ubuntu 18.04 but when I try to use the same key on my production server (Amazon Linux) it failed to encrypt with a message
Why is GPG file encryption so much slower than other AES ...
Correct me if I'm wrong: When encrypting a file, GPG creates a one-off AES encryption key and encrypts that key using RSA. This is supposedly to take advantage of AES's superior performance when handling larger amounts of data. If that's true, then why is gpg --encrypt so much slower than, for example, p7zip's AES-256 encryption?