simpler gnupg config i think
This commit is contained in:
parent
5654476508
commit
a72575eef4
9
sync.run
9
sync.run
|
@ -21,16 +21,17 @@ sleep 1 # prevent cpu spike on looping
|
|||
|
||||
export MIRROR_DIR=/var/lib/ubuntumirror
|
||||
export IPFS_PATH=/var/lib/ipfs
|
||||
export KEYID=790BC7277767219C42C86F933B4FE6ACC0B21F32
|
||||
#export KEYID=790BC7277767219C42C86F933B4FE6ACC0B21F32
|
||||
|
||||
export GNUPGHOME=/etc/debmirror/ubuntu
|
||||
mkdir -p $GNUPGHOME
|
||||
chmod go-rwx $GNUPGHOME
|
||||
|
||||
gpg --import /usr/share/keyrings/ubuntu-archive-keyring.gpg
|
||||
|
||||
gpg --recv-key $KEYID
|
||||
gpg --export $KEYID > $GNUPGHOME/trustedkeys.kbx
|
||||
gpg --no-default-keyring --keyring $GNUPGHOME/trustedkeys.gpg --import /usr/share/keyrings/ubuntu-archive-keyring.gpg
|
||||
|
||||
#gpg --recv-key $KEYID
|
||||
#gpg --export $KEYID > $GNUPGHOME/trustedkeys.kbx
|
||||
|
||||
chown -R ipfs:ipfs $GNUPGHOME
|
||||
|
||||
|
|
Loading…
Reference in New Issue