mirror of
https://git.proxmox.com/git/proxmox
synced 2025-05-29 09:24:24 +00:00
Fingerprint: add new signature method
commit 8c1ec5c802
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:
parent
27e98af425
commit
f6799e08af
@ -33,6 +33,9 @@ impl Fingerprint {
|
||||
pub fn bytes(&self) -> &[u8; 32] {
|
||||
&self.bytes
|
||||
}
|
||||
pub fn signature(&self) -> String {
|
||||
as_fingerprint(&self.bytes)
|
||||
}
|
||||
}
|
||||
|
||||
/// Display as short key ID
|
||||
|
Loading…
Reference in New Issue
Block a user