c041c07d22
Public Key Infrastructure for key certification, revocation and expiration. Monkeysphere is a framework that uses the OpenPGP web of trust for these PKI functions. It can be used in both directions: for users to get validated host keys, and for hosts to authenticate users. WWW: http://web.monkeysphere.info/ PR: ports/128406 Submitted by: Daniel Kahn Gillmor <dkg at fifthhorseman.net>
11 lines
443 B
Text
11 lines
443 B
Text
--- src/monkeysphere-host
|
|
+++ src/monkeysphere-host
|
|
@@ -103,7 +103,7 @@ update_gpg_pub_file() {
|
|
load_fingerprint() {
|
|
if [ -f "$HOST_KEY_FILE" ] ; then
|
|
HOST_FINGERPRINT=$( \
|
|
- (FUBAR=$(mktemp -d) && export GNUPGHOME="$FUBAR" \
|
|
+ (FUBAR=$(msmktempdir) && export GNUPGHOME="$FUBAR" \
|
|
&& gpg --quiet --import \
|
|
&& gpg --quiet --list-keys --with-colons --with-fingerprint \
|
|
&& rm -rf "$FUBAR") <"$HOST_KEY_FILE" \
|