Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Thanks for this useful text. Something that I believe is missing and still bother me is how to import my personal key from WinXP (PGP8.0) to Ubuntu and make it as “primary” (not something that belongs to other people)
@didaspilja: You can import a private key by running <pre>gpg --allow-secret-key-import --import /path/to/key</pre>You don’t need the public key as gpg can extract it from the private key.
I encrypted some text with gpgtools using someone else’s public key. Thing is, I was able to decrypt the same text a minute later. How was I able to do this if the only key that can open that message encrypted with his public key is the corresponding private key? Anyone with his public key can decrypt the message?? This doesn’t make sense. Did the software recognize that because it did the encryption with the public key, then it allowed decryption with the public key?
@mrclivemossmoon: It’s possible that it was encrypted with your public key as well. You can find out what public keys were used in the encryption process by running:
cat encrypted_file | gpg --list-packets
You should see something like this:
:pubkey enc packet: version 3, algo 1, keyid XXXXXXXXXXXXXX
data: [2045 bits]
:pubkey enc packet: version 3, algo 1, keyid C1993536B3BE3C2B
data: [4096 bits]
:encrypted data packet:
length: 64
mdc_method: 2
gpg: encrypted with 4096-bit RSA key, ID XXXXXXX, created 2014-06-25
"XX"
gpg: encrypted with 2048-bit RSA key, ID 9533899A, created 2014-05-24
"Kamal Nasser <hello@kamal.io>"
:compressed packet: algo=2
:literal data packet:
mode b (62), created 1406818248, name="",
raw data: 5 bytes
Thank you! I’m running gpgtools on a Mac but I think you are right. I see now that the option to add my key to the recipients was checked off so I unchecked it and could not decrypt the message. Thanks again!
Wow stuff !!!
I receive the encrypted message file from some other system, and the decryption should be done in our system through some scheduled program (without manual intervention). So I prepared a unix script for all the purposes. Now here the problem is, to pass the ‘passphrase’ at runtime without manual intervention. Please suggest.
Thank you in advance. Kanchan
Thank you, very interesting and helpful article. my key-ID is 4A79F18D. ;)
We are required to sign the encrypted file and we found this tutorial very useful. However we are facing issues while running the following 2 commands:
gpg --sign-key email@example.com gpg --armor --export your_email@address.com
In the first command what value should be used for email@example.com? Is it the recipient’s?
In PGP we used to sign recipient’s public key using pgp --sign-key "xyzzzd" --signer "######" --sig-type exportable --passphrase "######@##", how do I sign in gpg. What are the replacements for --signer and --sig-type and --exporter to achieve same behavior
Thanks for the elaborate post. Now everyone will understand that it is far to complicated to waste time on and no one will use it.