From ff94213e33cd28da500005abe640743beba80e9c Mon Sep 17 00:00:00 2001 From: Emanuel Haupt Date: Wed, 11 Oct 2017 22:35:04 +0000 Subject: Add py-mnemonic 0.17, implementation of Bitcoin BIP-0039. --- security/Makefile | 1 + security/py-mnemonic/Makefile | 20 ++++++++++++++++++++ security/py-mnemonic/distinfo | 3 +++ security/py-mnemonic/pkg-descr | 8 ++++++++ 4 files changed, 32 insertions(+) create mode 100644 security/py-mnemonic/Makefile create mode 100644 security/py-mnemonic/distinfo create mode 100644 security/py-mnemonic/pkg-descr (limited to 'security') diff --git a/security/Makefile b/security/Makefile index c88ffe8f48ca..d0a9eb08a37c 100644 --- a/security/Makefile +++ b/security/Makefile @@ -908,6 +908,7 @@ SUBDIR += py-mcrypt SUBDIR += py-mhash SUBDIR += py-mixbox + SUBDIR += py-mnemonic SUBDIR += py-oauth2client SUBDIR += py-oauthlib SUBDIR += py-onetime diff --git a/security/py-mnemonic/Makefile b/security/py-mnemonic/Makefile new file mode 100644 index 000000000000..053f0e8baafa --- /dev/null +++ b/security/py-mnemonic/Makefile @@ -0,0 +1,20 @@ +# Created by: Emanuel Haupt +# $FreeBSD$ + +PORTNAME= mnemonic +PORTVERSION= 0.17 +CATEGORIES= security python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= ehaupt@FreeBSD.org +COMMENT= Implementation of Bitcoin BIP-0039 + +LICENSE= MIT + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbkdf2>=1.3:security/py-pbkdf2 + +USES= python +USE_PYTHON= autoplist distutils + +.include diff --git a/security/py-mnemonic/distinfo b/security/py-mnemonic/distinfo new file mode 100644 index 000000000000..4654a7936efc --- /dev/null +++ b/security/py-mnemonic/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1507061403 +SHA256 (mnemonic-0.17.tar.gz) = 5636ec318c2abb7d1e54b557d1822843d662008099f1588cc3ee2979c8ea06c3 +SIZE (mnemonic-0.17.tar.gz) = 21847 diff --git a/security/py-mnemonic/pkg-descr b/security/py-mnemonic/pkg-descr new file mode 100644 index 000000000000..a4e1955f5917 --- /dev/null +++ b/security/py-mnemonic/pkg-descr @@ -0,0 +1,8 @@ +This BIP describes the implementation of a mnemonic code or mnemonic sentence (a +group of easy to remember words) for the generation of deterministic wallets. + +It consists of two parts: generating the mnenomic, and converting it into a +binary seed. This seed can be later used to generate deterministic wallets using +BIP-0032 or similar methods. + +WWW: https://github.com/trezor/python-mnemonic -- cgit v1.2.3