configs  Check-in [fb7befcc62]

Overview
Comment:Update gpg config
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | trunk
Files: files | file ages | folders
SHA3-256: fb7befcc621402885f36d3441c0367f129979c0cdccae7ab9413c5a3c8af3c16
User & Date: js on 2024-09-21 22:56:02
Other Links: manifest | tags
Context
2024-09-21
22:56
Update gpg config Leaf check-in: fb7befcc62 user: js tags: trunk
22:54
Update keyring check-in: b01a7b44c0 user: js tags: trunk
Changes

Deleted gnupg/gpg.conf version [f87e712b09].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
personal-cipher-preferences AES256 TWOFISH CAMELLIA256 CAMELLIA192 AES192 CAMELLIA128 AES
personal-digest-preferences SHA512 SHA384 SHA256 SHA224 RIPEMD160
personal-compress-preferences BZIP2 ZLIB ZIP Uncompressed
digest-algo SHA512
cipher-algo TWOFISH
cert-digest-algo SHA512
s2k-cipher-algo TWOFISH
s2k-digest-algo SHA512
default-preference-list AES256 TWOFISH CAMELLIA256 CAMELLIA192 AES192 CAMELLIA128 AES SHA512 SHA384 SHA256 SHA224 RIPEMD160 BZIP2 ZLIB ZIP Uncompressed
disable-cipher-algo IDEA 3DES CAST5
disable-pubkey-algo DSA ECDH ECDSA
ask-cert-level
default-key 6D1EC2269BC0B5459C8BA920CFDAB41F8292CEEE
hidden-encrypt-to 6D1EC2269BC0B5459C8BA920CFDAB41F8292CEEE
keyserver hkp://subset.pool.sks-keyservers.net
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<






























Modified gnupg/ownertrust from [91c4b37526] to [09cf405776].


1
2
3

6D1EC2269BC0B5459C8BA920CFDAB41F8292CEEE:6:
0CC6AC541C7ADC733C641610636703577395312F:6:
632E2A4DBFE3F3435A2F21BF94296EF2EC9BE683:6:
>

<
<
1
2


DC43171B6BE93978D09AD8B2C601EE21773E7C8F:6:
6D1EC2269BC0B5459C8BA920CFDAB41F8292CEEE:6:


Deleted gnupg/scdaemon.conf version [6e7effe2cf].

1
disable-ccid
<


Modified setup.sh from [0aa3678ce6] to [4f756f3d30].

32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
		gpg="gpg2"
	elif have gpg; then
		gpg="gpg"
	else
		gpg="false"
	fi

	gpg_key="EC9BE683"
	if $gpg --list-secret-keys $gpg_key >/dev/null 2>&1; then
		fossil set --global pgp-command \
			"$gpg -u $gpg_key --clearsign -o"
		fossil set --global clearsign 1
	else
		fossil unset --global pgp-command
		fossil unset --global clearsign
	fi
fi
have git && link_file git .config/git ../
if have gpg || have gpg2; then
	mkdir -p $HOME/.local/share/gnupg
	chmod 700 $HOME/.local/share/gnupg
	link_file gnupg/gpg.conf .local/share/gnupg/gpg.conf ../../../
	link_file gnupg/scdaemon.conf .local/share/gnupg/scdaemon.conf ../../../
	if have gpg2; then
		gpg="gpg2"
	else
		gpg="gpg"
	fi
	$gpg --import gnupg/keyring.asc
	$gpg --import-ownertrust gnupg/ownertrust







|













<
<







32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52


53
54
55
56
57
58
59
		gpg="gpg2"
	elif have gpg; then
		gpg="gpg"
	else
		gpg="false"
	fi

	gpg_key="DC43171B6BE93978D09AD8B2C601EE21773E7C8F"
	if $gpg --list-secret-keys $gpg_key >/dev/null 2>&1; then
		fossil set --global pgp-command \
			"$gpg -u $gpg_key --clearsign -o"
		fossil set --global clearsign 1
	else
		fossil unset --global pgp-command
		fossil unset --global clearsign
	fi
fi
have git && link_file git .config/git ../
if have gpg || have gpg2; then
	mkdir -p $HOME/.local/share/gnupg
	chmod 700 $HOME/.local/share/gnupg


	if have gpg2; then
		gpg="gpg2"
	else
		gpg="gpg"
	fi
	$gpg --import gnupg/keyring.asc
	$gpg --import-ownertrust gnupg/ownertrust