diff --git a/openpgp-card-sequoia/src/main.rs b/openpgp-card-sequoia/src/main.rs index 48b3f08..23234d8 100644 --- a/openpgp-card-sequoia/src/main.rs +++ b/openpgp-card-sequoia/src/main.rs @@ -84,7 +84,7 @@ fn main() -> Result<(), Box> { // Try not to overwrite your production cards. // --------------------------------------------- - assert_eq!(app_id.ident(), test_card_ident); + assert_eq!(app_id.ident(), test_card_ident.to_ascii_uppercase()); let check = open.check_admin_verified(); println!("has admin (pw3) been verified yet?\n{:x?}\n", check); @@ -155,7 +155,7 @@ fn main() -> Result<(), Box> { // Check that we're still using the expected card let app_id = open.application_identifier()?; - assert_eq!(app_id.ident(), test_card_ident); + assert_eq!(app_id.ident(), test_card_ident.to_ascii_uppercase()); let check = open.check_user_verified(); println!("has user (pw1/82) been verified yet?\n{:x?}\n", check);