From fd8c2aae60c3e8f14c1e79ef0fc75854d9575bf3 Mon Sep 17 00:00:00 2001 From: Wen Heping Date: Tue, 24 Mar 2020 13:27:34 +0000 Subject: [PATCH] A Python implementation of the SCRAM authentication protocol defined by RFC 5802 and RFC 7677. Scramp supports the following mechanisms: * SCRAM-SHA-256 * SCRAM-SHA-1 WWW: https://github.com/tlocke/scramp --- security/Makefile | 1 + security/py-scramp/Makefile | 19 +++++++++++++++++++ security/py-scramp/distinfo | 3 +++ security/py-scramp/pkg-descr | 6 ++++++ 4 files changed, 29 insertions(+) create mode 100644 security/py-scramp/Makefile create mode 100644 security/py-scramp/distinfo create mode 100644 security/py-scramp/pkg-descr diff --git a/security/Makefile b/security/Makefile index 536a2e973e77..a725b0bf63e9 100644 --- a/security/Makefile +++ b/security/Makefile @@ -977,6 +977,7 @@ SUBDIR += py-rsa SUBDIR += py-safe SUBDIR += py-scp + SUBDIR += py-scramp SUBDIR += py-scrypt SUBDIR += py-securesystemslib SUBDIR += py-service_identity diff --git a/security/py-scramp/Makefile b/security/py-scramp/Makefile new file mode 100644 index 000000000000..ec97da249418 --- /dev/null +++ b/security/py-scramp/Makefile @@ -0,0 +1,19 @@ +# $FreeBSD$ + +PORTNAME= scramp +PORTVERSION= 1.1.0 +CATEGORIES= security python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= wen@FreeBSD.org +COMMENT= Pure-Python implementation of the SCRAM authentication protocol + +LICENSE= MIT + +USES= python:3.5+ +USE_PYTHON= autoplist distutils + +NO_ARCH= yes + +.include diff --git a/security/py-scramp/distinfo b/security/py-scramp/distinfo new file mode 100644 index 000000000000..af5a0de5cb3d --- /dev/null +++ b/security/py-scramp/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1585042269 +SHA256 (scramp-1.1.0.tar.gz) = 475aa6296deb2737b86e9df9098e8eca0f30c8ad1cc0a8adadb99ef012a5ceba +SIZE (scramp-1.1.0.tar.gz) = 20211 diff --git a/security/py-scramp/pkg-descr b/security/py-scramp/pkg-descr new file mode 100644 index 000000000000..92d47f430b52 --- /dev/null +++ b/security/py-scramp/pkg-descr @@ -0,0 +1,6 @@ +A Python implementation of the SCRAM authentication protocol defined +by RFC 5802 and RFC 7677. Scramp supports the following mechanisms: + * SCRAM-SHA-256 + * SCRAM-SHA-1 + +WWW: https://github.com/tlocke/scramp