This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

add ignavia tpm key, age-detect: accept age1tag1 recipients

+4 -2
+1
keys/age/ignavia.age
··· 1 + age1tag1q0s0wm24pt8j9sg37dzh9h2ejeqcsvea83nvs0s9hmlhhjj9ycnvgq4d9wh
+3 -2
tools/age-detect/age-detect
··· 18 18 fi 19 19 20 20 # Check for TPM on Linux (second priority - built-in, no USB needed) 21 - # Requires: TPM device, hostname.age with age1tpm1 recipient, and identity in ~/.config/age/ 21 + # Requires: TPM device, hostname.age with age1tpm1/age1tag1 recipient, and identity in ~/.config/age/ 22 + # Newer age-plugin-tpm emits native p256tag (age1tag1) recipients by default. 22 23 if [[ -c /dev/tpmrm0 ]] && [[ -f ~/.config/age/tpm-identity.txt ]]; then 23 24 local hostname_key 24 25 hostname_key="${AGE_DETECT_KEYS_DIR:-}/age/$(hostname).age" 25 - if [[ -f "$hostname_key" ]] && grep -q "^age1tpm1" "$hostname_key" 2>/dev/null; then 26 + if [[ -f "$hostname_key" ]] && grep -qE "^age1(tpm|tag)1" "$hostname_key" 2>/dev/null; then 26 27 rm -f "$temp_identities" 27 28 echo "DETECTED_KEY=tpm" 28 29 echo "KEY_TYPE=tpm"