GNU bug report logs - #63859
[PATCH 0/2] Add otpclient

Previous Next

Package: guix-patches;

Reported by: Liliana Marie Prikler <liliana.prikler <at> gmail.com>

Date: Fri, 2 Jun 2023 22:12:01 UTC

Severity: normal

Tags: patch

Done: Liliana Marie Prikler <liliana.prikler <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 63859 in the body.
You can then email your comments to 63859 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#63859; Package guix-patches. (Fri, 02 Jun 2023 22:12:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Liliana Marie Prikler <liliana.prikler <at> gmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Fri, 02 Jun 2023 22:12:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
To: guix-patches <at> gnu.org
Subject: [PATCH 0/2] Add otpclient
Date: Sat, 3 Jun 2023 00:04:57 +0200
Hi Guix,

this series adds otpclient, a GTK+-based client for managing one-time
passwords.  It's a bit quirky, but perhaps someone out there enjoys the
clicky-touchy over pass-otp.

Cheers

Liliana Marie Prikler (2):
  gnu: Add libcotp.
  gnu: Add otpclient.

 gnu/packages/authentication.scm | 25 +++++++++++++++
 gnu/packages/password-utils.scm | 54 +++++++++++++++++++++++++++++++++
 2 files changed, 79 insertions(+)


base-commit: c11b92a8aae6fe7fad0da8257ec28f5009c37b35
-- 
2.40.1





Information forwarded to guix-patches <at> gnu.org:
bug#63859; Package guix-patches. (Fri, 02 Jun 2023 22:26:01 GMT) Full text and rfc822 format available.

Message #8 received at 63859 <at> debbugs.gnu.org (full text, mbox):

From: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
To: 63859 <at> debbugs.gnu.org
Subject: [PATCH 2/2] gnu: Add otpclient.
Date: Fri, 2 Jun 2023 23:39:25 +0200
* gnu/packages/password-utils.scm (otpclient): New variable.
---
 gnu/packages/password-utils.scm | 54 +++++++++++++++++++++++++++++++++
 1 file changed, 54 insertions(+)

diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.scm
index f5f301308a..cd77024e7e 100644
--- a/gnu/packages/password-utils.scm
+++ b/gnu/packages/password-utils.scm
@@ -102,6 +102,7 @@ (define-module (gnu packages password-utils)
   #:use-module (gnu packages opencl)
   #:use-module (gnu packages perl)
   #:use-module (gnu packages pkg-config)
+  #:use-module (gnu packages protobuf)
   #:use-module (gnu packages python)
   #:use-module (gnu packages python-web)
   #:use-module (gnu packages python-xyz)
@@ -114,6 +115,7 @@ (define-module (gnu packages password-utils)
   #:use-module (gnu packages tls)
   #:use-module (gnu packages qt)
   #:use-module (gnu packages version-control)
+  #:use-module (gnu packages web)
   #:use-module (gnu packages wxwidgets)
   #:use-module (gnu packages xdisorg)
   #:use-module (gnu packages xorg)
@@ -304,6 +306,58 @@ (define-public pwsafe-cli
 Counterpane's Passwordsafe.")
       (license license:gpl2+))))
 
+(define-public otpclient
+  (package
+    (name "otpclient")
+    (version "3.1.7")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/paolostivanin/OTPClient")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0cwn4spddhg099hcqcvzgbws3xpmnd29g1vayk36118x94wmajaf"))))
+    (build-system cmake-build-system)
+    (arguments
+     (list
+      #:modules `(((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
+                  (guix build cmake-build-system)
+                  (guix build utils))
+      #:imported-modules `((guix build glib-or-gtk-build-system)
+                           ,@%cmake-build-system-modules)
+      #:tests? #f                        ; No tests
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'unpack 'generate-gdk-pixbuf-loaders-cache-file
+            (assoc-ref glib-or-gtk:%standard-phases
+                       'generate-gdk-pixbuf-loaders-cache-file))
+          (add-after 'wrap 'glib-or-gtk-compile-schemas
+            (assoc-ref glib-or-gtk:%standard-phases
+                       'glib-or-gtk-compile-schemas))
+          (add-after 'wrap 'glib-or-gtk-wrap
+            (assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
+    (inputs (list adwaita-icon-theme
+                  libcotp
+                  libgcrypt
+                  libsecret
+                  libzip
+                  hicolor-icon-theme
+                  gtk+
+                  jansson
+                  protobuf
+                  protobuf-c
+                  qrencode
+                  zbar))
+    (native-inputs (list pkg-config protobuf))
+    (home-page "https://github.com/paolostivanin/OTPClient")
+    (synopsis "Two-factor authentication client")
+    (description "OTPClient is a GTK+-based @acronym{OTP, One Time Password}
+client, supporting @acronym{TOTP, Time-based one time passwords} and
+@acronym{HOTP,HMAC-based one time passwords}.")
+    (license license:gpl3)))
+
 (define-public shroud
   (package
     (name "shroud")
-- 
2.40.1





Information forwarded to guix-patches <at> gnu.org:
bug#63859; Package guix-patches. (Fri, 02 Jun 2023 22:26:02 GMT) Full text and rfc822 format available.

Message #11 received at 63859 <at> debbugs.gnu.org (full text, mbox):

From: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
To: 63859 <at> debbugs.gnu.org
Subject: [PATCH 1/2] gnu: Add libcotp.
Date: Fri, 2 Jun 2023 23:39:07 +0200
* gnu/packages/authentication.scm (libcotp): New variable.
---
 gnu/packages/authentication.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/authentication.scm b/gnu/packages/authentication.scm
index a73f2cbc14..de1769d65f 100644
--- a/gnu/packages/authentication.scm
+++ b/gnu/packages/authentication.scm
@@ -22,11 +22,13 @@ (define-module (gnu packages authentication)
   #:use-module (gnu packages)
   #:use-module (gnu packages autotools)
   #:use-module (gnu packages documentation)
+  #:use-module (gnu packages gnupg)
   #:use-module (gnu packages linux)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages security-token)
   #:use-module (gnu packages tls)
   #:use-module (gnu packages xml)
+  #:use-module (guix build-system cmake)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system go)
   #:use-module (guix download)
@@ -34,6 +36,29 @@ (define-module (gnu packages authentication)
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix packages))
 
+(define-public libcotp
+  (package
+    (name "libcotp")
+    (version "2.0.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/paolostivanin/libcotp")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "12ps2msclcbv53gjf936cny10an8sc70b9frp6xxjirfn5jg2h63"))))
+    (build-system cmake-build-system)
+    (inputs (list libgcrypt))
+    (native-inputs (list pkg-config))
+    (home-page "https://github.com/paolostivanin/libcotp")
+    (synopsis "One-Time Passwords")
+    (description "This package provides a library to generate
+@acronym{HOTP, HMAC-base One-Time Password}s as specified in RFC 4226 and
+@acronym{TOTP, Time-based One-Time Password}s as specified in RFC 6238.")
+    (license license:asl2.0)))
+
 (define-public oath-toolkit
   (package
     (name "oath-toolkit")
-- 
2.40.1





Information forwarded to guix-patches <at> gnu.org:
bug#63859; Package guix-patches. (Sun, 11 Jun 2023 08:11:02 GMT) Full text and rfc822 format available.

Message #14 received at 63859 <at> debbugs.gnu.org (full text, mbox):

From: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
To: 63859 <at> debbugs.gnu.org
Subject: Re: [PATCH 0/2] Add otpclient
Date: Sun, 11 Jun 2023 10:10:27 +0200
Am Samstag, dem 03.06.2023 um 00:04 +0200 schrieb Liliana Marie
Prikler:
> Hi Guix,
> 
> this series adds otpclient, a GTK+-based client for managing one-time
> passwords.  It's a bit quirky, but perhaps someone out there enjoys
> the clicky-touchy over pass-otp.
And it's pushed.  Enjoy your clicky-touchy OTP.




Reply sent to Liliana Marie Prikler <liliana.prikler <at> gmail.com>:
You have taken responsibility. (Sun, 11 Jun 2023 08:12:01 GMT) Full text and rfc822 format available.

Notification sent to Liliana Marie Prikler <liliana.prikler <at> gmail.com>:
bug acknowledged by developer. (Sun, 11 Jun 2023 08:12:02 GMT) Full text and rfc822 format available.

Message #19 received at 63859-done <at> debbugs.gnu.org (full text, mbox):

From: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
To: 63859-done <at> debbugs.gnu.org
Subject: Re: [PATCH 0/2] Add otpclient
Date: Sun, 11 Jun 2023 10:11:03 +0200
Am Sonntag, dem 11.06.2023 um 10:10 +0200 schrieb Liliana Marie
Prikler:
> Am Samstag, dem 03.06.2023 um 00:04 +0200 schrieb Liliana Marie
> Prikler:
> > Hi Guix,
> > 
> > this series adds otpclient, a GTK+-based client for managing one-
> > time passwords.  It's a bit quirky, but perhaps someone out there
> > enjoys the clicky-touchy over pass-otp.
> And it's pushed.  Enjoy your clicky-touchy OTP.
(Forgot to mark as done.)




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 09 Jul 2023 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 306 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.