Fingerprint: add new signature method

commit c42a54795d introcuded a bug by
using fp.to_string(). Replace this with fp.signature() which correctly
returns the full fingerprint instead of the short version.

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
This commit is contained in:
Dietmar Maurer committed 2021-11-22 08:29:43 +01:00
1 parent 94a6b33680
commit ca6e66aa5a
5 files changed
+7 -4

No files matched your search

+1 -1
View File
@@ -696,7 +696,7 @@ pub async fn read_label(
flat.encryption_key_fingerprint = set
.encryption_key_fingerprint
.as_ref()
.map(|fp| fp.to_string());
.map(|fp| fp.signature());
let encrypt_fingerprint = set.encryption_key_fingerprint.clone()
.map(|fp| (fp, set.uuid.clone()));