From e4c56d1f960c325093fa5ab008e361cb01802ad7 Mon Sep 17 00:00:00 2001 From: Lilah Tascheter Date: Mon, 3 Nov 2025 16:52:47 -0600 Subject: [PATCH] gnu: password-utils: Add himitsu. * gnu/packages/password-utils.scm (himitsu): New variable. Change-Id: Ib13c62177dfc9e2f121606bc71f391e09fb4d1e4 Signed-off-by: jgart --- gnu/packages/password-utils.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.scm index 5490c6c15d815b983e6191867afbd12ab923ac2d..03cc65089d617276316864c0784507bf6e663209 100644 --- a/gnu/packages/password-utils.scm +++ b/gnu/packages/password-utils.scm @@ -67,6 +67,7 @@ #:use-module (guix build-system copy) #:use-module (guix build-system gnu) #:use-module (guix build-system go) + #:use-module (guix build-system hare) #:use-module (guix build-system pyproject) #:use-module (guix build-system python) #:use-module (guix build-system qt) @@ -2119,3 +2120,33 @@ generates strong passphrases, inspired by license:lgpl2.0 ;finnish word list license:lgpl2.1 ;portuguese word list license:mpl1.1)))) ;portuguese word list + +(define-public himitsu + ;; As of time of packaging, a side channel attack was fixed but not yet + ;; included in a numbered version. + (let ((commit "270cc4b8816fd7dd2020896ced04d2c83f48c4fc") + (revision "0")) + (package + (name "himitsu") + (version (git-version "0.9" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://git.sr.ht/~sircmpwn/himitsu") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "111cf31vymxb752777gjingwhqdnwhr3zn1x59kg798nl88nikp7")))) + (build-system hare-build-system) + (native-inputs (list scdoc)) + (supported-systems %hare-supported-systems) + (home-page "https://himitsustore.org/") + (synopsis "Password and secret manager daemon") + (description "Himitsu is a daemon-oriented secret storage tool, including +both a client and daemon program. Secrets, including passwords and keys, may be +requested either through clients such as @code{himitsu-ssh} or through the +included @code{hiq} tool. Upon request, the user is prompted to authorize +access for that process to that specific secret. Himitsu uses the Hare +cryptographic library, which has not been audited.") + (license license:gpl3))))