From 202fcb062cbc62e6b358b973df3fc5259c5184d9 Mon Sep 17 00:00:00 2001 From: zeising Date: Wed, 19 Jul 2017 17:20:36 +0000 Subject: Add sha2wordlist. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit sha2wordlist makes a sha256 digest and outputs it in PGP Words, to be used when verifying hashes verbally. Submitted by: Peter Ankerstål --- security/Makefile | 1 + security/sha2wordlist/Makefile | 26 ++++++++++++++++++++++++++ security/sha2wordlist/distinfo | 3 +++ security/sha2wordlist/pkg-descr | 5 +++++ 4 files changed, 35 insertions(+) create mode 100644 security/sha2wordlist/Makefile create mode 100644 security/sha2wordlist/distinfo create mode 100644 security/sha2wordlist/pkg-descr (limited to 'security') diff --git a/security/Makefile b/security/Makefile index f937320e1e1d..2c614ee7b843 100644 --- a/security/Makefile +++ b/security/Makefile @@ -1113,6 +1113,7 @@ SUBDIR += sguil SUBDIR += sha SUBDIR += sha1collisiondetection + SUBIDR += sha2wordlist SUBDIR += shibboleth2-sp SUBDIR += shimmer SUBDIR += shishi diff --git a/security/sha2wordlist/Makefile b/security/sha2wordlist/Makefile new file mode 100644 index 000000000000..b200a754574a --- /dev/null +++ b/security/sha2wordlist/Makefile @@ -0,0 +1,26 @@ +# Created by: Peter Ankerstal +# $FreeBSD$ + +PORTNAME= sha2wordlist +PORTVERSION= 1.0.20140124 +CATEGORIES= security + +MAINTAINER= peter@pean.org +COMMENT= create SHA256 digests as PGP words + +LICENSE= BSD2CLAUSE BSD3CLAUSE +LICENSE_COMB= multi + +USE_GITHUB= yes +GH_ACCOUNT= kirei +GH_TAGNAME= 3615281 + +PLIST_FILES= sbin/sha2wordlist + +post-patch: + @${REINPLACE_CMD} -e 's|gcc|cc|g' ${WRKSRC}/Makefile + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${LOCALBASE}/sbin/ + +.include diff --git a/security/sha2wordlist/distinfo b/security/sha2wordlist/distinfo new file mode 100644 index 000000000000..b8a8401b9ee4 --- /dev/null +++ b/security/sha2wordlist/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1500115682 +SHA256 (kirei-sha2wordlist-1.0.20140124-3615281_GH0.tar.gz) = 9fc3227ada752823250d2892961b7fed34f2d8a736c47421cf8dd6e4b1d26cee +SIZE (kirei-sha2wordlist-1.0.20140124-3615281_GH0.tar.gz) = 14272 diff --git a/security/sha2wordlist/pkg-descr b/security/sha2wordlist/pkg-descr new file mode 100644 index 000000000000..156c2e1641a8 --- /dev/null +++ b/security/sha2wordlist/pkg-descr @@ -0,0 +1,5 @@ +This program takes data on stdin and outputs the SHA256 checksum of that +data together with the PGP Wordlist representation of the checksum. +This could be very useful when verifying checksums verbally. + +WWW: https://github.com/kirei/sha2wordlist -- cgit