From ff06bfac111fe46f0b4453b19a7cfe2589644b87 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 12 Feb 2018 17:22:50 +0300 Subject: Use abbreviated to 16 chars SHA256 fingerprint as certificate id --- bpkg/rep-info.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bpkg/rep-info.cxx') diff --git a/bpkg/rep-info.cxx b/bpkg/rep-info.cxx index 128951a..9fc7676 100644 --- a/bpkg/rep-info.cxx +++ b/bpkg/rep-info.cxx @@ -102,7 +102,7 @@ namespace bpkg if (cert != nullptr) cout << "CN=" << cert->name << "/O=" << cert->organization << "/" << cert->email << endl - << sha256_to_fingerprint (cert->fingerprint) << endl; + << cert->fingerprint << endl; } else { @@ -112,7 +112,7 @@ namespace bpkg if (o.cert_fingerprint ()) { if (cert != nullptr) - cout << sha256_to_fingerprint (cert->fingerprint); + cout << cert->fingerprint; cout << endl; } -- cgit v1.1