From 34f027b7b705d8827b24a3a296dd6e3bb41f7302 Mon Sep 17 00:00:00 2001 From: Jephte CLAIN Date: Wed, 24 Jun 2015 16:19:30 +0400 Subject: [PATCH] =?UTF-8?q?bug=20avec=20la=20pr=C3=A9sence=20du=20scheme?= =?UTF-8?q?=20dans=20sha?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- upassword | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upassword b/upassword index e3bbb7e..44db4f9 100755 --- a/upassword +++ b/upassword @@ -4796,7 +4796,7 @@ public class upassword { } private static final String getShaHex(String sha) { - return toHex(Base64.decode(sha)); + return toHex(Base64.decode(sha.substring("{SHA}".length()))); } private void run(String[] args) {