From de96dd66a2733a33948d3d555df4cac89ae775ae Mon Sep 17 00:00:00 2001 From: M66B Date: Sat, 17 Jul 2021 14:09:45 +0200 Subject: [PATCH] Fixed Amazon fingerprint --- app/src/main/java/eu/faircode/email/Helper.java | 2 +- app/src/main/res/values/strings.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/Helper.java b/app/src/main/java/eu/faircode/email/Helper.java index a462f1a8eb..fcf1798ffd 100644 --- a/app/src/main/java/eu/faircode/email/Helper.java +++ b/app/src/main/java/eu/faircode/email/Helper.java @@ -1579,7 +1579,7 @@ public class Helper { byte[] bytes = digest.digest(cert); StringBuilder sb = new StringBuilder(); for (byte b : bytes) - sb.append(Integer.toString(b & 0xff, 16).toUpperCase(Locale.ROOT)); + sb.append(String.format("%02X", b)); return sb.toString(); } catch (Throwable ex) { Log.e(ex); diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 1c6b98b66d..4e2031091a 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -1949,6 +1949,6 @@ 17BA15C1AF55D925F98B99CEA4375D4CDF4C174B - 20DAA43A8ADBC7BB823723C1553F4753CA7D2 + 200D0AA43A8ADBC7BB8237023C1553F4753CA7D2 MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtFbxEbzL8u5accPGgBw/XdyiSS5BBE6ZQ9ELpKyJ/OQN+kdYniCAOw3lsQ/GuJScy4Y2HobqbBgLL8GLHG+Yu2EHC9dLjA3v2Mc25vvnfn86BsrpQvz1poN2n+roTBdq09FWbtebJ8m0hDBVmtfRi7RhTKIL4No3kodLhksdnucKjcFheubebWKgpmvbmw7NwuELhaZmyhw8WTtnQ4rZPMhjY1JJZgzwNExXgD7zzg4pJPkuQlfkuRkkvBpHpi3C7VDnYjrBlLHngI4wv3wxQBVwJqlvAT9PmX8dOVnTsWWdJdLQBZVWphuqVY54kjBIovN+o8w03WjsV9QiOQq+XwIDAQAB