diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-05-10 21:39:27 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-05-18 14:37:03 +0100 |
| commit | 049159688767c7808282550efadcc34b56bf262f (patch) | |
| tree | 3389144ea6c88d8f9b5d542fb45f33fc3d28e481 | |
| parent | 46b7c7b4d2c5ae818a146435e32d6bc0830c3ee8 (diff) | |
gnu: Add python-shamir-mnemonic.
* gnu/packages/python-crypto.scm (python-shamir-mnemonic): New variable.
Change-Id: I1bfa75fb1c4e4deeb19e10bbe1a38b55fcff9926
| -rw-r--r-- | gnu/packages/python-crypto.scm | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm index 558c7e79a3..be0a56a934 100644 --- a/gnu/packages/python-crypto.scm +++ b/gnu/packages/python-crypto.scm @@ -1494,6 +1494,38 @@ implements RFC 6125 fully and plans to add other relevant RFCs too.") of the CRC32C hashing algorithm.") (license license:asl2.0))) +(define-public python-shamir-mnemonic + (package + (name "python-shamir-mnemonic") + (version "0.3.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/trezor/python-shamir-mnemonic") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0nzg1l9hrjgrw8jnji8jjl6yy8wixxipcbdjhmh6x1vn1z25ndia")))) + (build-system pyproject-build-system) + (native-inputs + (list python-bip32utils + python-poetry-core + python-pytest)) + (propagated-inputs + (list python-click)) + (home-page "https://github.com/trezor/python-shamir-mnemonic") + (synopsis "SLIP-39 Shamir Mnemonics") + (description + "This package provides a reference implementation of SLIP-0039: Shamir's +Secret-Sharing for Mnemonic Codes. This SLIP describes a standard and +interoperable implementation of Shamir's secret sharing (SSS). SSS splits a +secret into unique parts which can be distributed among participants, and +requires a specified minimum number of parts to be supplied in order to +reconstruct the original secret. Knowledge of fewer than the required number +of parts does not leak information about the secret.") + (license license:expat))) + (define-public python-spake2 (package (name "python-spake2") |
