From 7254f8e986608da3a4f7a8c5cce9e2c4dce64cbb Mon Sep 17 00:00:00 2001 From: yggverse Date: Wed, 20 Nov 2024 11:33:22 +0200 Subject: [PATCH] trim CN prefix from certificate name --- src/app/browser/window/tab/item/identity/gemini.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/browser/window/tab/item/identity/gemini.rs b/src/app/browser/window/tab/item/identity/gemini.rs index 8b1ba55f..5dbcf96b 100644 --- a/src/app/browser/window/tab/item/identity/gemini.rs +++ b/src/app/browser/window/tab/item/identity/gemini.rs @@ -44,7 +44,7 @@ impl Gemini { // Append record option widget.form.list.append( Some(identity.id), - &certificate.subject_name().unwrap(), + &certificate.subject_name().unwrap().replace("CN=", ""), // trim prefix &format!( "valid until {} | auth: {}", certificate