Is there a way to gpg sign all previous commits?

My approach is git rebase –exec “git commit –amend –no-edit -n -S” -i 8fd7b22 All commits started from the next after 8fd7b22 will be rebased with no changes except signing. To change all commits started from the very first one you may use –root (since Git v1.7.12): git rebase –exec “git commit –amend –no-edit -n … Read more

Is there a good GnuPG encryption library for Java/Scala? [closed]

You can try to call the JAVA API of BouncyCastle.org. Its documentation mentions: The Bouncy Castle Crypto package is a Java implementation of cryptographic algorithms. You have here an example of openpgp ByteArrayHandler. There might be some incompatibility between BouncyCastle encryption and GnuGP encryption though, since BouncyCastle does not use GnuPG, but rather implements OpenPGP … Read more

Emacs: Failed to verify signature archive-contents.sig

See https://emacs.stackexchange.com/questions/233/ for the same question. The signature check failed because you don’t have the new key (the old signature key expired on Sep 23). The new key is available from the usual GPG key-servers, comes with Emacs≄26.3, and can also be obtained by installing the package gnu-elpa-keyring-update.

Prevent git from asking for the GnuPG password during signing a commit

Git never gets hold of the GnuPG passphrase. You must rely on GnuPG’s capabilities of caching passphrases, which happens through gpg-agent which are easily set up by editing ~/.gnupg/gpg-agent.conf (hidden somewhere in your AppData folder in Windows). Set default-cache-ttl to the number of seconds the passphrase is cached after each invocation of GnuPG. maximum-cache-ttl sets … Read more

Are exported private keys in GPG still encrypted?

Exported secret keys are encrypted by default, however –export-options export-reset-subkey-passwd will produce an unprotected export: When using the –export-secret-subkeys command, this option resets the passphrases for all exported subkeys to empty. This is useful when the exported subkey is to be used on an unattended machine where a passphrase doesn’t necessarily make sense. Defaults to … Read more

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