diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-05-10 21:39:27 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-05-24 10:19:34 +0100 |
| commit | d4e8fe5ddec17b25cf568d0c65662414a3624b76 (patch) | |
| tree | 85125495e9a45e234533b1027bec48f3debce303 /gnu/packages/python-crypto.scm | |
| parent | 1b606f16bb0f1e07f078faef8764cb5e3755dc6a (diff) | |
gnu: Add python-shamir-mnemonic.
* gnu/packages/python-crypto.scm (python-shamir-mnemonic): New variable.
Change-Id: I1bfa75fb1c4e4deeb19e10bbe1a38b55fcff9926
Diffstat (limited to 'gnu/packages/python-crypto.scm')
| -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 558c7e79a3a..be0a56a9346 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.") | |||
| 1494 | of the CRC32C hashing algorithm.") | 1494 | of the CRC32C hashing algorithm.") |
| 1495 | (license license:asl2.0))) | 1495 | (license license:asl2.0))) |
| 1496 | 1496 | ||
| 1497 | (define-public python-shamir-mnemonic | ||
| 1498 | (package | ||
| 1499 | (name "python-shamir-mnemonic") | ||
| 1500 | (version "0.3.0") | ||
| 1501 | (source | ||
| 1502 | (origin | ||
| 1503 | (method git-fetch) | ||
| 1504 | (uri (git-reference | ||
| 1505 | (url "https://github.com/trezor/python-shamir-mnemonic") | ||
| 1506 | (commit (string-append "v" version)))) | ||
| 1507 | (file-name (git-file-name name version)) | ||
| 1508 | (sha256 | ||
| 1509 | (base32 "0nzg1l9hrjgrw8jnji8jjl6yy8wixxipcbdjhmh6x1vn1z25ndia")))) | ||
| 1510 | (build-system pyproject-build-system) | ||
| 1511 | (native-inputs | ||
| 1512 | (list python-bip32utils | ||
| 1513 | python-poetry-core | ||
| 1514 | python-pytest)) | ||
| 1515 | (propagated-inputs | ||
| 1516 | (list python-click)) | ||
| 1517 | (home-page "https://github.com/trezor/python-shamir-mnemonic") | ||
| 1518 | (synopsis "SLIP-39 Shamir Mnemonics") | ||
| 1519 | (description | ||
| 1520 | "This package provides a reference implementation of SLIP-0039: Shamir's | ||
| 1521 | Secret-Sharing for Mnemonic Codes. This SLIP describes a standard and | ||
| 1522 | interoperable implementation of Shamir's secret sharing (SSS). SSS splits a | ||
| 1523 | secret into unique parts which can be distributed among participants, and | ||
| 1524 | requires a specified minimum number of parts to be supplied in order to | ||
| 1525 | reconstruct the original secret. Knowledge of fewer than the required number | ||
| 1526 | of parts does not leak information about the secret.") | ||
| 1527 | (license license:expat))) | ||
| 1528 | |||
| 1497 | (define-public python-spake2 | 1529 | (define-public python-spake2 |
| 1498 | (package | 1530 | (package |
| 1499 | (name "python-spake2") | 1531 | (name "python-spake2") |
