git: 767b261e2cc9 - main - security/py-shamir-mnemonic: Add new port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 16 Feb 2026 13:15:00 UTC
The branch main has been updated by ehaupt:
URL: https://cgit.FreeBSD.org/ports/commit/?id=767b261e2cc90728ba822cfde28f7ff453addbc7
commit 767b261e2cc90728ba822cfde28f7ff453addbc7
Author: Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2026-02-16 13:11:14 +0000
Commit: Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2026-02-16 13:14:55 +0000
security/py-shamir-mnemonic: Add new port
shamir-mnemonic is a Python implementation of SLIP-0039, a standard for
splitting secrets into multiple mnemonic word shares using Shamir's
Secret Sharing scheme.
It is designed primarily for use with cryptocurrency wallets and
hardware devices, enabling secure backup and recovery of sensitive
secrets through human-readable word lists.
The library provides tools for generating mnemonic shares, combining
shares to recover secrets, and validating share sets, while remaining
compatible with SLIP-0039 implementations used by Trezor and related
ecosystems.
---
security/py-shamir-mnemonic/Makefile | 22 ++++++++++++++++++++++
security/py-shamir-mnemonic/distinfo | 3 +++
security/py-shamir-mnemonic/pkg-descr | 12 ++++++++++++
3 files changed, 37 insertions(+)
diff --git a/security/py-shamir-mnemonic/Makefile b/security/py-shamir-mnemonic/Makefile
new file mode 100644
index 000000000000..9b2efe4ab7a1
--- /dev/null
+++ b/security/py-shamir-mnemonic/Makefile
@@ -0,0 +1,22 @@
+PORTNAME= shamir-mnemonic
+DISTVERSION= 0.3.0
+CATEGORIES= security python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= shamir_mnemonic-${DISTVERSION}
+
+MAINTAINER= ehaupt@FreeBSD.org
+COMMENT= Implementation of SLIP-0039 Shamir mnemonic secret sharing
+WWW= https://pypi.org/project/shamir-mnemonic/ \
+ https://github.com/trezor/python-shamir-mnemonic
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0:devel/py-poetry-core@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>=8,<9:devel/py-click@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist pep517
+
+.include <bsd.port.mk>
diff --git a/security/py-shamir-mnemonic/distinfo b/security/py-shamir-mnemonic/distinfo
new file mode 100644
index 000000000000..a6705c5fd511
--- /dev/null
+++ b/security/py-shamir-mnemonic/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1770843433
+SHA256 (shamir_mnemonic-0.3.0.tar.gz) = bc04886a1ddfe2a64d8a3ec51abf0f664d98d5b557cc7e78a8ad2d10a1d87438
+SIZE (shamir_mnemonic-0.3.0.tar.gz) = 21757
diff --git a/security/py-shamir-mnemonic/pkg-descr b/security/py-shamir-mnemonic/pkg-descr
new file mode 100644
index 000000000000..f562476a1720
--- /dev/null
+++ b/security/py-shamir-mnemonic/pkg-descr
@@ -0,0 +1,12 @@
+shamir-mnemonic is a Python implementation of SLIP-0039, a standard for
+splitting secrets into multiple mnemonic word shares using Shamir's
+Secret Sharing scheme.
+
+It is designed primarily for use with cryptocurrency wallets and
+hardware devices, enabling secure backup and recovery of sensitive
+secrets through human-readable word lists.
+
+The library provides tools for generating mnemonic shares, combining
+shares to recover secrets, and validating share sets, while remaining
+compatible with SLIP-0039 implementations used by Trezor and related
+ecosystems.