On Sun, Nov 13, 2016 at 09:00:58PM -0500, Predrag Punosevac wrote:
> I am trying to migrate few web sites to https using free certificates
> from Let's Encrypt. Since I am not crazy about installing official
> certbot client I went for acme-tiny. It seems to be broken
>
> # uname -a
> OpenBSD horae.autonlab.org 6.0 GENERIC.MP#2 amd64
>
> ValueError: Error registering: 400 {
> "type": "urn:acme:error:malformed",
> "detail": "Provided agreement URL
> [https://letsencrypt.org/documents/LE-SA-v1.0.1-July-27-2015.pdf] does
> not match current agreement URL
> [https://letsencrypt.org/documents/LE-SA-v1.1.1-August-1-2016.pdf]",
> "status": 400
> }
>
> This seems well known bug
>
> http://lists.alioth.debian.org/pipermail/letsencrypt-devel/Week-of-Mon-20160808/000784.html
>
> Best,
> Predrag
Below diff should fix it.
Index: Makefile
===================================================================
RCS file: /cvs/ports/security/letsencrypt/acme-tiny/Makefile,v
retrieving revision 1.4
diff -u -p -u -r1.4 Makefile
--- Makefile 10 May 2016 09:36:22 -0000 1.4
+++ Makefile 16 Feb 2017 09:34:37 -0000
@@ -2,7 +2,7 @@
COMMENT= small 3rd-party letsencrypt client
-DISTNAME= acme-tiny-20160326
+DISTNAME= acme-tiny-20160818
HOMEPAGE= https://github.com/diafygi/acme-tiny
@@ -13,7 +13,7 @@ PERMIT_PACKAGE_CDROM= Yes
GH_ACCOUNT= diafygi
GH_PROJECT= acme-tiny
-GH_COMMIT= 7a5a2558c8d6e5ab2a59b9fec9633d9e63127971
+GH_COMMIT= daba51d37efd7c1f205f9da383b9b09968e30d29
MODPY_PI= No
MODPY_SETUPTOOLS= No
Index: distinfo
===================================================================
RCS file: /cvs/ports/security/letsencrypt/acme-tiny/distinfo,v
retrieving revision 1.2
diff -u -p -u -r1.2 distinfo
--- distinfo 10 May 2016 09:36:22 -0000 1.2
+++ distinfo 16 Feb 2017 09:34:37 -0000
@@ -1,2 +1,2 @@
-SHA256 (acme-tiny-20160326.tar.gz) =
mVLEyoVNzzNuFMgAH7uSnLzyth6t7ehSgKdlRN+XAUQ=
-SIZE (acme-tiny-20160326.tar.gz) = 10519
+SHA256 (acme-tiny-20160818.tar.gz) =
rvJUHHJwqapNTOSVCdag9I5Z7MwRbfD+fe/nffck9UQ=
+SIZE (acme-tiny-20160818.tar.gz) = 10510
--
best regards
q#