Import minisign-0.8.

Minisign is a dead simple tool to sign files and verify signatures.

It is portable, lightweight, and uses the highly secure Ed25519 public-key
signature system.

Signatures written by minisign can be verified using OpenBSD's signify tool:
public key files and signature files are compatible. However, minisign uses
a slightly different format to store secret keys.

Minisign signatures include trusted comments in addition to untrusted
comments. Trusted comments are signed, thus verified, before being
displayed. This adds two lines to the signature files, that signify
silently ignores.

ok sthen@
This commit is contained in:
bentley 2019-07-17 08:24:03 +00:00
parent aefa4cfd06
commit 5fdae90f6a
4 changed files with 43 additions and 0 deletions

View File

@ -0,0 +1,25 @@
# $OpenBSD: Makefile,v 1.1.1.1 2019/07/17 08:24:03 bentley Exp $
COMMENT = dead simple tool to sign files and verify digital signatures
GH_ACCOUNT = jedisct1
GH_PROJECT = minisign
GH_TAGNAME = 0.8
CATEGORIES = security sysutils
HOMEPAGE = https://jedisct1.github.io/minisign/
# ISC
PERMIT_PACKAGE = Yes
WANTLIB += c sodium
MODULES = devel/cmake
LIB_DEPENDS = security/libsodium
CONFIGURE_ARGS = -DCMAKE_C_FLAGS="-I${LOCALBASE}/include ${CFLAGS}"
NO_TEST = Yes
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (minisign-0.8.tar.gz) = Ew61JGB2vH7ELxNJWmATguVmu2czQw1Apo3l5Dp/EII=
SIZE (minisign-0.8.tar.gz) = 14045

View File

@ -0,0 +1,13 @@
Minisign is a dead simple tool to sign files and verify signatures.
It is portable, lightweight, and uses the highly secure Ed25519 public-key
signature system.
Signatures written by minisign can be verified using OpenBSD's signify tool:
public key files and signature files are compatible. However, minisign uses
a slightly different format to store secret keys.
Minisign signatures include trusted comments in addition to untrusted
comments. Trusted comments are signed, thus verified, before being
displayed. This adds two lines to the signature files, that signify
silently ignores.

View File

@ -0,0 +1,3 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2019/07/17 08:24:03 bentley Exp $
@bin bin/minisign
@man man/man1/minisign.1