summaryrefslogtreecommitdiff
path: root/security/py-nitrokey
diff options
context:
space:
mode:
Diffstat (limited to 'security/py-nitrokey')
-rw-r--r--security/py-nitrokey/Makefile31
-rw-r--r--security/py-nitrokey/distinfo3
-rw-r--r--security/py-nitrokey/pkg-descr12
3 files changed, 46 insertions, 0 deletions
diff --git a/security/py-nitrokey/Makefile b/security/py-nitrokey/Makefile
new file mode 100644
index 000000000000..4fbcdf8adcd3
--- /dev/null
+++ b/security/py-nitrokey/Makefile
@@ -0,0 +1,31 @@
+PORTNAME= nitrokey
+DISTVERSION= 0.3.2
+CATEGORIES= security devel python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= monwarez@mailoo.org
+COMMENT= Python SDK for Nitrokey devices
+WWW= https://pypi.org/project/nitrokey/
+
+LICENSE= MIT
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fido2>=1.1.2,<3:security/py-fido2@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pyusb>=0:devel/py-pyusb@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}semver>=0:devel/py-semver@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}tlv8>=0:converters/py-tlv8@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}poetry>=0:devel/py-poetry@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fido2>=1.1.2,<3:security/py-fido2@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pyusb>=0:devel/py-pyusb@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pyserial>=0:comms/py-pyserial@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}semver>=0:devel/py-semver@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}tlv8>=0:converters/py-tlv8@${PY_FLAVOR}
+
+USES= python shebangfix
+USE_PYTHON= autoplist concurrent cryptography pep517
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/security/py-nitrokey/distinfo b/security/py-nitrokey/distinfo
new file mode 100644
index 000000000000..34aa25a24d7b
--- /dev/null
+++ b/security/py-nitrokey/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1754636999
+SHA256 (nitrokey-0.3.2.tar.gz) = 240828ac0d95f961e0aadc24f1f10f8ddc28a20ed0df193ddda2922749b11e44
+SIZE (nitrokey-0.3.2.tar.gz) = 117590
diff --git a/security/py-nitrokey/pkg-descr b/security/py-nitrokey/pkg-descr
new file mode 100644
index 000000000000..5be79c063208
--- /dev/null
+++ b/security/py-nitrokey/pkg-descr
@@ -0,0 +1,12 @@
+The Nitrokey Python SDK can be used to use and configure Nitrokey devices.
+
+The SDK supports these devices and features:
+ * Nitrokey 3
+ - device and bootloader management (nitrokey.nk3)
+ - admin app (nitrokey.trussed.admin_app)
+ - provisioner app (nitrokey.trussed.provisioner_app)
+ - secrets app (nitrokey.nk3.secrets_app)
+ * Nitrokey Passkey
+ - device and bootloader management (nitrokey.nkpk)
+ - admin app (nitrokey.trussed.admin_app)
+ - provisioner app (nitrokey.trussed.provisioner_app)