pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
fidocrypt-git: new package
Module Name: pkgsrc-wip
Committed By: Thomas Klausner <wiz%gatalith.at@localhost>
Pushed By: wiz
Date: Mon Dec 26 00:12:16 2022 +0100
Changeset: fa2dfac5d703b87742aa67e228340336606dcff3
Modified Files:
Makefile
Added Files:
fidocrypt-git/DESCR
fidocrypt-git/Makefile
fidocrypt-git/PLIST
Log Message:
fidocrypt-git: new package
Fidocrypt is a technique by which a server can store a secret in
the credential during U2F/FIDO/webauthn registration, and retrieve
it again during signin. As long as the server erases its copy of
the secret, and as long as the U2F device isn't badly designed,
the secret cannot be retrieved again except by U2F/FIDO/webauthn
signin with the device.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=fa2dfac5d703b87742aa67e228340336606dcff3
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 6 ++++++
fidocrypt-git/DESCR | 6 ++++++
fidocrypt-git/Makefile | 27 +++++++++++++++++++++++++++
fidocrypt-git/PLIST | 11 +++++++++++
4 files changed, 50 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index 9b593f7b74..155b72e6ff 100644
--- a/Makefile
+++ b/Makefile
@@ -237,6 +237,10 @@ SUBDIR+= autoproject
SUBDIR+= autopsy
SUBDIR+= autossh
SUBDIR+= avida2
+SUBDIR+= avidemux
+SUBDIR+= avidemux-cli
+SUBDIR+= avidemux-plugins
+SUBDIR+= avidemux-qt
SUBDIR+= avp
SUBDIR+= avr-gcc
SUBDIR+= avr-gdb
@@ -881,6 +885,7 @@ SUBDIR+= fftw-openmpi
SUBDIR+= fftw2-openmpi
SUBDIR+= ffxvid
SUBDIR+= fiche
+SUBDIR+= fidocrypt-git
SUBDIR+= filepp
SUBDIR+= filerunner
SUBDIR+= filevercmp
@@ -1793,6 +1798,7 @@ SUBDIR+= imgui
SUBDIR+= imonc
SUBDIR+= incidenceeditor
SUBDIR+= inetdxtra
+SUBDIR+= influx-cli
SUBDIR+= influxdb
SUBDIR+= info2man
SUBDIR+= infraarcana
diff --git a/fidocrypt-git/DESCR b/fidocrypt-git/DESCR
new file mode 100644
index 0000000000..345c2da5f6
--- /dev/null
+++ b/fidocrypt-git/DESCR
@@ -0,0 +1,6 @@
+Fidocrypt is a technique by which a server can store a secret in
+the credential during U2F/FIDO/webauthn registration, and retrieve
+it again during signin. As long as the server erases its copy of
+the secret, and as long as the U2F device isn't badly designed,
+the secret cannot be retrieved again except by U2F/FIDO/webauthn
+signin with the device.
diff --git a/fidocrypt-git/Makefile b/fidocrypt-git/Makefile
new file mode 100644
index 0000000000..af8788220a
--- /dev/null
+++ b/fidocrypt-git/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD$
+
+DISTNAME= fidocrypt-0.0
+CATEGORIES= games
+GIT_REPO= https://github.com/riastradh/fidocrypt.git
+
+MAINTAINER= riastradh%NetBSD.org@localhost
+HOMEPAGE= https://github.com/riastradh/fidocrypt
+COMMENT= U2F/FIDO-based key derivation and encapsulation
+LICENSE= 2-clause-bsd
+
+USE_LANGUAGES= c
+USE_TOOLS+= pkg-config
+
+MAKEFLAGS+= prefix=${PREFIX}
+MAKEFLAGS+= mandir=${PREFIX}/${PKGMANDIR}
+
+CPPFLAGS+= -DHAVE_FIDO_ASSERT_SET_HMAC_SECRET
+CPPFLAGS+= -DHAVE_FIDO_CRED_AUTHDATA_RAW_PTR
+CPPFLAGS+= -DHAVE_FIDO_DEV_SET_SIGMASK
+CPPFLAGS+= -DHAVE_FIDO_ED25519
+CPPFLAGS+= -DHAVE_FIDO_ES256_PK_FROM_EC_KEY_FIX
+CPPFLAGS+= -DHAVE_FIDO_RSA
+
+.include "../../security/libfido2/buildlink3.mk"
+.include "../../wip/mk/git-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/fidocrypt-git/PLIST b/fidocrypt-git/PLIST
new file mode 100644
index 0000000000..53047bf705
--- /dev/null
+++ b/fidocrypt-git/PLIST
@@ -0,0 +1,11 @@
+@comment $NetBSD$
+bin/fidocrypt
+include/fidocrypt.h
+lib/libfidocrypt.a
+lib/libfidocrypt.so
+lib/libfidocrypt.so.0
+lib/libfidocrypt.so.${PKGVERSION}
+man/man1/fidocrypt.1
+man/man3/fido_assert_decrypt.3
+man/man3/fido_cred_encrypt.3
+man/man3/fidocrypt.3
Home |
Main Index |
Thread Index |
Old Index