all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#63859] [PATCH 1/2] gnu: Add libcotp.
  2023-06-02 22:04 [bug#63859] [PATCH 0/2] Add otpclient Liliana Marie Prikler
@ 2023-06-02 21:39 ` Liliana Marie Prikler
  2023-06-02 21:39 ` [bug#63859] [PATCH 2/2] gnu: Add otpclient Liliana Marie Prikler
  2023-06-11  8:10 ` [bug#63859] [PATCH 0/2] " Liliana Marie Prikler
  2 siblings, 0 replies; 5+ messages in thread
From: Liliana Marie Prikler @ 2023-06-02 21:39 UTC (permalink / raw)
  To: 63859

* 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





^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [bug#63859] [PATCH 2/2] gnu: Add otpclient.
  2023-06-02 22:04 [bug#63859] [PATCH 0/2] Add otpclient Liliana Marie Prikler
  2023-06-02 21:39 ` [bug#63859] [PATCH 1/2] gnu: Add libcotp Liliana Marie Prikler
@ 2023-06-02 21:39 ` Liliana Marie Prikler
  2023-06-11  8:10 ` [bug#63859] [PATCH 0/2] " Liliana Marie Prikler
  2 siblings, 0 replies; 5+ messages in thread
From: Liliana Marie Prikler @ 2023-06-02 21:39 UTC (permalink / raw)
  To: 63859

* 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





^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [bug#63859] [PATCH 0/2] Add otpclient
@ 2023-06-02 22:04 Liliana Marie Prikler
  2023-06-02 21:39 ` [bug#63859] [PATCH 1/2] gnu: Add libcotp Liliana Marie Prikler
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Liliana Marie Prikler @ 2023-06-02 22:04 UTC (permalink / raw)
  To: 63859

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





^ permalink raw reply	[flat|nested] 5+ messages in thread

* [bug#63859] [PATCH 0/2] Add otpclient
  2023-06-02 22:04 [bug#63859] [PATCH 0/2] Add otpclient Liliana Marie Prikler
  2023-06-02 21:39 ` [bug#63859] [PATCH 1/2] gnu: Add libcotp Liliana Marie Prikler
  2023-06-02 21:39 ` [bug#63859] [PATCH 2/2] gnu: Add otpclient Liliana Marie Prikler
@ 2023-06-11  8:10 ` Liliana Marie Prikler
  2023-06-11  8:11   ` bug#63859: " Liliana Marie Prikler
  2 siblings, 1 reply; 5+ messages in thread
From: Liliana Marie Prikler @ 2023-06-11  8:10 UTC (permalink / raw)
  To: 63859

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.




^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#63859: [PATCH 0/2] Add otpclient
  2023-06-11  8:10 ` [bug#63859] [PATCH 0/2] " Liliana Marie Prikler
@ 2023-06-11  8:11   ` Liliana Marie Prikler
  0 siblings, 0 replies; 5+ messages in thread
From: Liliana Marie Prikler @ 2023-06-11  8:11 UTC (permalink / raw)
  To: 63859-done

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.)




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-06-11  8:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-02 22:04 [bug#63859] [PATCH 0/2] Add otpclient Liliana Marie Prikler
2023-06-02 21:39 ` [bug#63859] [PATCH 1/2] gnu: Add libcotp Liliana Marie Prikler
2023-06-02 21:39 ` [bug#63859] [PATCH 2/2] gnu: Add otpclient Liliana Marie Prikler
2023-06-11  8:10 ` [bug#63859] [PATCH 0/2] " Liliana Marie Prikler
2023-06-11  8:11   ` bug#63859: " Liliana Marie Prikler

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.