From nobody Tue Dec 27 03:38:28 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Nh0jw75Dwz1LdqL; Tue, 27 Dec 2022 03:38:28 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Nh0jw5KFtz3lps; Tue, 27 Dec 2022 03:38:28 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1672112308; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Eq17mBOY6kW2EvO4bFezsTq6QO55rTUE/PCuOIow86k=; b=yvoOATHnHX1VeMH+V+wwuAZA7HVWvdNSm5fmWiLafWS7ceLyL8HrRfnkGTn1bLqsKzRW/S 8+zZ4Bt112ENUdMPHGrffWs7idH+ug3Jr4yypapAl9J4HyOjws9G4eUNEv24B3H30Pc4y3 kuuMHcfYPc280/5gVwj4T+PMYSRTHme6Xl0QLq/sIQMroHnrrLClu9081EPNSaOphinwH9 R+k/qJsf0CNkqKPKB7r5OUWgfpYjWjm8oxQDdX4XABegQ/PxG0LOBEFtnxGe70iqThhPU6 EPLuHyFYbPgLCNH19Zpida1vkTFeHhUa7WcdtG7bKRjFsqdWXJXwjWuEvc2iFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1672112308; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Eq17mBOY6kW2EvO4bFezsTq6QO55rTUE/PCuOIow86k=; b=BA2JhTE7OZKbd8X1Qmu7abL/hhhML6pZBMHTT1JwDL5uJdJmAomrNmoqxhHE8AygyYPBUP 9QSMBylKGdbI4ib4qKbV+x6tNqGGJfCtc8Cx5NqKKt0IpGUxp44pldKk/9reSZoUAdX2ZM ty36I0e9nk3i+jn2rrHHpyHq4XxqLqPs0RKsPphjwh5I0tzEWN30QjVkPBda0tngw8Yi3v wq2cVYDstSgpFn+kDpoe2XhWxcL3EcP/tF5jN/fz5bQW1+hIJmcDQNVXFUU4LkHF2okGfr yn+5rgpi7ewsddLeCuYivu85WKVLtnyMvBXetXy/FwtjIJ2iH5VKhXQartBZdg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1672112308; a=rsa-sha256; cv=none; b=CxP3p91HVdqflxaouOs12A46NiNFqNdgHjspa1NPUsZqMiQAI/RONITe4Oa/ukPYWCae8n JaH2ATrxNIV4ImTNEw9jo3cs/ksDVFRZyiWxYFRDczRD+K7CmHuJ7p6Ol3y/+9L3LcI03R mpXiNHb/B9MofoVU0zMFA9s3j73Y4DxbpNg+LZdH+AqhlL8ESo2QXRXGJZSn9VxkNMthAo +0dJdTlM2yqpPNnANMFuCHbgI5gb6kmfABWt2C0OC1A8PcrqBBDg409RApHiisKukIhL/u dC+AJ/XESJvuV6I2K9KK8IQy11MzgDdyKeN3aoMcBU9LhmIWLVBWEdluV3nzYg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Nh0jw466kzw2x; Tue, 27 Dec 2022 03:38:28 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2BR3cSJQ026166; Tue, 27 Dec 2022 03:38:28 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2BR3cSwN026165; Tue, 27 Dec 2022 03:38:28 GMT (envelope-from git) Date: Tue, 27 Dec 2022 03:38:28 GMT Message-Id: <202212270338.2BR3cSwN026165@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Koichiro Iwao Subject: git: aeccccd1cfe5 - main - security/gokey: New port: Simple password manager writen in Go List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: meta X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: aeccccd1cfe5936c2505bc0e3bf8071ff4394b39 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by meta: URL: https://cgit.FreeBSD.org/ports/commit/?id=aeccccd1cfe5936c2505bc0e3bf8071ff4394b39 commit aeccccd1cfe5936c2505bc0e3bf8071ff4394b39 Author: Koichiro Iwao AuthorDate: 2022-12-27 03:36:06 +0000 Commit: Koichiro Iwao CommitDate: 2022-12-27 03:36:06 +0000 security/gokey: New port: Simple password manager writen in Go PR: 268587 --- security/Makefile | 1 + security/gokey/Makefile | 27 +++++++++++++++++++++++++++ security/gokey/distinfo | 5 +++++ security/gokey/pkg-descr | 13 +++++++++++++ 4 files changed, 46 insertions(+) diff --git a/security/Makefile b/security/Makefile index 7bd983bb100b..ce4f11333893 100644 --- a/security/Makefile +++ b/security/Makefile @@ -180,6 +180,7 @@ SUBDIR += gnutls SUBDIR += go-cve-dictionary SUBDIR += gokart + SUBDIR += gokey SUBDIR += gonepass SUBDIR += gopass SUBDIR += gorilla diff --git a/security/gokey/Makefile b/security/gokey/Makefile new file mode 100644 index 000000000000..6ff956ac043d --- /dev/null +++ b/security/gokey/Makefile @@ -0,0 +1,27 @@ +PORTNAME= gokey +DISTVERSIONPREFIX= v +DISTVERSION= 0.1.2 +CATEGORIES= security + +MAINTAINER= 0xdutra@gmail.com +COMMENT= Simple password manager write in Go +WWW= https://github.com/cloudflare/gokey + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= go:modules +GO_MODULE= github.com/cloudflare/gokey +GO_TARGET= ./cmd/gokey + +PLIST_FILES= bin/${PORTNAME} + +PORTDOCS= README.md + +OPTIONS_DEFINE= DOCS + +do-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} + +.include diff --git a/security/gokey/distinfo b/security/gokey/distinfo new file mode 100644 index 000000000000..1e2228ed6ca8 --- /dev/null +++ b/security/gokey/distinfo @@ -0,0 +1,5 @@ +TIMESTAMP = 1672107735 +SHA256 (go/security_gokey/gokey-v0.1.2/v0.1.2.mod) = 950a88925784603d0a9b5af156afc7233601d33ddc237d01d6978f1c2f53e310 +SIZE (go/security_gokey/gokey-v0.1.2/v0.1.2.mod) = 167 +SHA256 (go/security_gokey/gokey-v0.1.2/v0.1.2.zip) = 44c0e33ce53a39d2c1aadb457478faacc46204e2a60c171d48c4c943d38df639 +SIZE (go/security_gokey/gokey-v0.1.2/v0.1.2.zip) = 25411 diff --git a/security/gokey/pkg-descr b/security/gokey/pkg-descr new file mode 100644 index 000000000000..26e89655131e --- /dev/null +++ b/security/gokey/pkg-descr @@ -0,0 +1,13 @@ +gokey is a password manager, which does not require a password vault. + +Supported password/key types: + - pass: default, generates a password + - seed: generates a seed file, which can be used with -s option later + - raw: generates 32 random bytes (can be used as a symmetric key) + - ec256: generates ECC P-256 private key + - ec384: generates ECC P-384 private key + - ec521: generates ECC P-521 private key + - rsa2048: generates 2048-bit RSA private key + - rsa4096: generates 4096-bit RSA private key + - x25519: generates x25519 (also known as curve25519) ECC private key + - ed25519: generates ed25519 ECC private key