|
From: | Mark Grandi |
Subject: | Re: [Duplicity-talk] Sign-key verification with long fingerprints |
Date: | Thu, 17 Nov 2016 15:50:27 -0700 |
The thing is, GPG knows how to figure out what key one is referring to when given different things, such as email, first 20 characters of fingerprint, all 40 characters of fingerprint, etc, but Duplicity doesn't Duplicity should probably consult GPG on the full fingerprint of the key being used to encrypt before it saves it, so that way if someone passes in a different (but still valid according to GPG) identifier for the key, we won't get these errors Example of how GPG could be called by duplicity to get the full 40 character fingerprint given different identifiers passed in by the user (see the 'fpr' line) with email: [2016-11-17 15:42:07] address@hidden:~$ gpg2 --list-secret-keys --fingerprint --with-colons address@hidden sec::4096:1:C7DC9D26A1C7DFB9:1459373464::::::scESC:::: fpr:::::::::BB93C97A6D5BD11F4469A0F6C7DC9D26A1C7DFB9: uid:::::1459373464::4B52287E61873F1175B997D6DD5684840430C5C4::Aurelion Sol (Hope. Wonder. Insignificance. Imagine what they'll feel when I complete the stars.) <address@hidden>: uat:::::1459374102::175AADA90BE77BC78BD607F8011CFB34AD2F7A14::1 11228: ssb::4096:1:AFC816A06E475087:1459373464::::::e:::: ssb::3072:17:2B5AE45A43093539:1459374008::::::s:::: ssb::4096:16:1BAC9BA4BF4D887D:1459374080::::::e:::: ssb::2048:1:AED498799F693180:1459374094::::::e:::: first 20 characters of fingerprint: [2016-11-17 15:42:17] address@hidden:~$ gpg2 --list-secret-keys --fingerprint --with-colons C7DC9D26A1C7DFB9 sec::4096:1:C7DC9D26A1C7DFB9:1459373464::::::scESC:::: fpr:::::::::BB93C97A6D5BD11F4469A0F6C7DC9D26A1C7DFB9: uid:::::1459373464::4B52287E61873F1175B997D6DD5684840430C5C4::Aurelion Sol (Hope. Wonder. Insignificance. Imagine what they'll feel when I complete the stars.) <address@hidden>: uat:::::1459374102::175AADA90BE77BC78BD607F8011CFB34AD2F7A14::1 11228: ssb::4096:1:AFC816A06E475087:1459373464::::::e:::: ssb::3072:17:2B5AE45A43093539:1459374008::::::s:::: ssb::4096:16:1BAC9BA4BF4D887D:1459374080::::::e:::: ssb::2048:1:AED498799F693180:1459374094::::::e:::: full 40 characters of fingerprint: [2016-11-17 15:44:07] address@hidden:~$ gpg2 --list-secret-keys --fingerprint --with-colons BB93C97A6D5BD11F4469A0F6C7DC9D26A1C7DFB9 sec::4096:1:C7DC9D26A1C7DFB9:1459373464::::::scESC:::: fpr:::::::::BB93C97A6D5BD11F4469A0F6C7DC9D26A1C7DFB9: uid:::::1459373464::4B52287E61873F1175B997D6DD5684840430C5C4::Aurelion Sol (Hope. Wonder. Insignificance. Imagine what they'll feel when I complete the stars.) <address@hidden>: uat:::::1459374102::175AADA90BE77BC78BD607F8011CFB34AD2F7A14::1 11228: ssb::4096:1:AFC816A06E475087:1459373464::::::e:::: ssb::3072:17:2B5AE45A43093539:1459374008::::::s:::: ssb::4096:16:1BAC9BA4BF4D887D:1459374080::::::e:::: ssb::2048:1:AED498799F693180:1459374094::::::e:::: ~Mark
|
[Prev in Thread] | Current Thread | [Next in Thread] |