How can I manage keyring files in trusted.gpg.d with ansible playbook since apt-key is deprecated?

In short, you need to put the GPG key with the correct extension into a separate directory that is not searched by default, and point your repository configuration at that specific file. For more info on why you need a separate directory, see this answer to “Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d … Read more

Disable enter passphrase for each commit

default-cache-ttl max-cache-ttl This is the correct way to do this. The default timeout there is 10 minutes so if there are more then 10 minutes between your commits you would have to extend the time. C:\Users\SashaChernykh.gnupg\gpg-agent.conf This is not the correct path. This would be the path on a GNU/Linux system. The Home directory for … Read more

gpg: WARNING: unsafe ownership on configuration file, $gpg –fingerprint on Ubuntu9.10

Commands run with sudo will be run as root. What you want to do is to own the files as your user dylan, right? Maybe so happens that root is owning your files now. This can be changed by: sudo chown -R dylan ~dylan/.gnupg and then as dylan: chmod 600 ~/.gnupg/gpg.conf chmod 700 ~/.gnupg To … Read more

Configure GPG for Git on Windows

Update Oct. 2018, as commented below by PHPirate: λ git –version git version 2.19.1.windows.1 λ gpg –version gpg (GnuPG) 2.2.9-unknown libgcrypt 1.8.3 Copyright (C) 2018 Free Software Foundation, Inc. No trace of that update in git-for-windows/git/releases Original answer (2017): By default, Git for Windows includes a gpg1, not gpg2 vonc@bvonc MINGW64 ~/.ssh $ gpg –version … Read more

How to use Gnupg’s passphrase-fd argument?

In order to use the gpg option –passphrase-fd in GnuPG v2, you must specify the –batch parameter. I will first explain how –passphrase-fd works, and then get to the examples. –passphrase-fd tells GnuPG which file descriptor (-fd) to expect the passphrase to come from. The standard file descriptors are STDIN (0), STDOUT (1) and STDERR … Read more

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