Move legacy files into legacy folder, add inventory file
This commit is contained in:
14
legacy/gnupg/gnupg_agent
Executable file
14
legacy/gnupg/gnupg_agent
Executable file
@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
rc=$(pgrep gpg-agent)
|
||||
if [ "$rc" != 0 ]; then
|
||||
export GPG_AGENT_INFO
|
||||
export SSH_AUTH_SOCK
|
||||
export SSH_AGENT_PID
|
||||
else
|
||||
eval $(gpg-agent --daemon)
|
||||
fi
|
||||
|
||||
gpg-connect-agent /bye
|
||||
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
|
||||
|
7
legacy/gnupg/gpg-agent.conf
Normal file
7
legacy/gnupg/gpg-agent.conf
Normal file
@ -0,0 +1,7 @@
|
||||
default-cache-ttl 300
|
||||
default-cache-ttl-ssh 300
|
||||
max-cache-ttl 300
|
||||
max-cache-ttl-ssh 300
|
||||
no-allow-external-cache
|
||||
enable-ssh-support
|
||||
ignore-cache-for-signing
|
12
legacy/gnupg/gpg.conf
Normal file
12
legacy/gnupg/gpg.conf
Normal file
@ -0,0 +1,12 @@
|
||||
cert-digest-algo SHA256
|
||||
no-emit-version
|
||||
no-comments
|
||||
personal-cipher-preferences AES AES256 AES192 CAST5
|
||||
personal-digest-preferences SHA256 SHA512 SHA384 SHA224
|
||||
ignore-time-conflict
|
||||
allow-freeform-uid
|
||||
with-fingerprint
|
||||
keyid-format 0xlong
|
||||
keyserver hkps://hkps.pool.sks-keyservers.net
|
||||
#keyserver-options ca-cert-file=/home/electron/.gnupg/sks-keyservers_ca.pem
|
||||
keyserver-options no-honor-keyserver-url
|
12
legacy/gnupg/sshcontrol
Normal file
12
legacy/gnupg/sshcontrol
Normal file
@ -0,0 +1,12 @@
|
||||
# List of allowed ssh keys. Only keys present in this file are used
|
||||
# in the SSH protocol. The ssh-add tool may add new entries to this
|
||||
# file to enable them; you may also add them manually. Comment
|
||||
# lines, like this one, as well as empty lines are ignored. Lines do
|
||||
# have a certain length limit but this is not serious limitation as
|
||||
# the format of the entries is fixed and checked by gpg-agent. A
|
||||
# non-comment line starts with optional white spaces, followed by the
|
||||
# keygrip of the key given as 40 hex digits, optionally followed by a
|
||||
# caching TTL in seconds, and another optional field for arbitrary
|
||||
# flags. Prepend the keygrip with an '!' mark to disable it.
|
||||
|
||||
468CB012C93D96E3C67F2CBCFB112400050023B6
|
Reference in New Issue
Block a user