projects
/
monkeysphere-validation-agent.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85fa66e
)
require openpgp4fpr to be a full fingerprint and standardize internally on upper...
author
Daniel Kahn Gillmor
<dkg@fifthhorseman.net>
Thu, 30 Dec 2010 22:49:39 +0000
(17:49 -0500)
committer
Daniel Kahn Gillmor
<dkg@fifthhorseman.net>
Thu, 30 Dec 2010 22:49:39 +0000
(17:49 -0500)
Crypt/Monkeysphere/MSVA.pm
patch
|
blob
|
history
diff --git
a/Crypt/Monkeysphere/MSVA.pm
b/Crypt/Monkeysphere/MSVA.pm
index ed72f4dda43770f8e45f6d3031260a41a345da97..0133ff49101aeaa94587b08204d78310b8eea94c 100755
(executable)
--- a/
Crypt/Monkeysphere/MSVA.pm
+++ b/
Crypt/Monkeysphere/MSVA.pm
@@
-711,8
+711,8
@@
my $key;
my $gpgquery;
if (lc($data->{pkc}->{type}) eq 'openpgp4fpr') {
- if ($data->{pkc}->{data} =~ /^(0x)?([[:xdigit:]]
+
)$/) {
- $data->{pkc}->{data} =
$2
;
+ if ($data->{pkc}->{data} =~ /^(0x)?([[:xdigit:]]
{40}
)$/) {
+ $data->{pkc}->{data} =
uc($2)
;
$fpr = $data->{pkc}->{data};
msvalog('verbose', "OpenPGP v4 fingerprint: %s\n",$fpr);
} else {