[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-anastasis-gtk] branch master updated: -switch to 8 digits
From: |
gnunet |
Subject: |
[taler-anastasis-gtk] branch master updated: -switch to 8 digits |
Date: |
Wed, 29 Sep 2021 23:04:40 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository anastasis-gtk.
The following commit(s) were added to refs/heads/master by this push:
new 34bf260 -switch to 8 digits
34bf260 is described below
commit 34bf2607b36806d4c21fc0a706e688c65009ca5a
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Wed Sep 29 23:04:38 2021 +0200
-switch to 8 digits
---
src/anastasis/anastasis-gtk_handle-challenge-totp.c | 2 +-
src/anastasis/anastasis-gtk_handle-method-totp.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/anastasis/anastasis-gtk_handle-challenge-totp.c
b/src/anastasis/anastasis-gtk_handle-challenge-totp.c
index c9a4ad2..61b8220 100644
--- a/src/anastasis/anastasis-gtk_handle-challenge-totp.c
+++ b/src/anastasis/anastasis-gtk_handle-challenge-totp.c
@@ -103,7 +103,7 @@ anastasis_gtk_c_totp_dialog_answer_entry_changed_cb
(GtkEntry *entry,
"anastasis_gtk_c_totp_entry"));
as = gtk_entry_get_text (a);
ok = ( (NULL != as) &&
- (6 == strlen (as)) &&
+ (8 == strlen (as)) &&
(1 == sscanf (as,
"%u%c",
&pin,
diff --git a/src/anastasis/anastasis-gtk_handle-method-totp.c
b/src/anastasis/anastasis-gtk_handle-method-totp.c
index 0863f0b..34cdbc4 100644
--- a/src/anastasis/anastasis-gtk_handle-method-totp.c
+++ b/src/anastasis/anastasis-gtk_handle-method-totp.c
@@ -116,7 +116,7 @@ refresh_totp (GtkBuilder *builder)
sizeof (totp),
base_sec);
GNUNET_asprintf (&uri,
- "otpauth://totp/%s?secret=%s",
+ "otpauth://totp/%s?digits=8&secret=%s",
u_name,
base_sec);
GNUNET_free (u_name);
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-anastasis-gtk] branch master updated: -switch to 8 digits,
gnunet <=