How to trust a apt repository : Debian apt-get update error public key is not available: NO_PUBKEY [closed]

I found several posts telling me to run several gpg commands, but they didn’t solve the problem because of two things. First, I was missing the debian-keyring package on my system and second I was using an invalid keyserver. Try different keyservers if you’re getting timeouts! Thus, the way I fixed it was: apt-get install … Read more

gpg encrypt file without keyboard interaction [closed]

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: –trust-model pgp|classic|direct|always|auto … Read more

How to Export Private / Secret ASC Key to Decrypt GPG Files

You can export the private key with the command-line tool from GPG. It works on the Windows-shell. Use the following command: gpg –export-secret-keys A normal export with –export will not include any private keys, therefore you have to use –export-secret-keys. Edit: To sum up the information given in my comments, this is the command that … Read more

Error “gpg: keyserver receive failed: No name”

I stumbled upon this today and found the fix at Maven Central Repository Documentation. The SKS Keyserver Network is being deprecated and probably gone by now. Just use another GPG key server like: keyserver.ubuntu.com keys.openpgp.org pgp.mit.edu So for example gpg –keyserver keyserver.ubuntu.com –recv-key 908F435E

encryption/decryption with multiple keys

GnuPG does multi-key encryption in standard. The following command will encrypt doc.txt using the public key for Alice and the public key for Bob. Alice can decrypt using her private key. Bob can also decrypt using his private key. gpg –encrypt –recipient alice@example.com \ –recipient bob@example.com doc.txt This feature is detailed in the user guide … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)