pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/security/erlang-jose



Module Name:    pkgsrc
Committed By:   nia
Date:           Mon Mar 23 18:32:01 UTC 2020

Modified Files:
        pkgsrc/security/erlang-jose: Makefile PLIST distinfo
Removed Files:
        pkgsrc/security/erlang-jose/patches: patch-src_jose__public__key.erl

Log Message:
erlang-jose: Update to 1.10.1

# Changelog

## 1.10.1 (2020-01-08)

* Fixes
  * Add PEM/DER compatibility layer for PKCS-8 incompatibilities with various versions of OTP, `crypto`, and `public_key`; see [#82](https://github.com/potatosalad/erlang-jose/issues/82)

## 1.10.0 (2020-01-03)

* Enhancements
  * Remove [base64url](https://github.com/dvv/base64url) dependency and include embedded version.
  * Add support for `C20P` and `XC20P` encryption based on [draft-amringer-jose-chacha](https://tools.ietf.org/html/draft-amringer-jose-chacha-01) (ChaCha20/Poly1305 and XChaCha20/Poly1305).
  * Add support for ECDH-ES keywrapping for AES-GCM, ChaCha20/Poly1305, and XChaCha20/Poly1305.
  * Add support for PBES2 keywrapping for AES-GCM, ChaCha20/Poly1305, and XChaCha20/Poly1305.
  * Add support for `ECDH-1PU` encryption based on [draft-madden-jose-ecdh-1pu](https://tools.ietf.org/html/draft-madden-jose-ecdh-1pu-02).
  * Add support for reading/writing DER format (or PKCS8 format).

* Fixes
  * Fix PSS salt length (thanks to [@ntrepid8](https://github.com/ntrepid8), see [#65](https://github.com/potatosalad/erlang-jose/pull/65))
  * Speed up and stabilize tests on CI environment.

## 1.9.0 (2018-12-31)

* Enhancements
  * Add support for [Jason](https://github.com/michalmuskala/jason) JSON encoding and decoding.
  * Add support for Poison 4.x and lexical ordering.
  * Use `public_key` over `cutkey` for RSA key generation if available.
  * Drop support for older versions of OTP (19+ now required).
  * Relicense library under MIT license.

* Fixes
  * Add macro so the application compiles without warnings after `erlang:get_stacktrace/0` has been deprecated.
  * Extra sanity check for RSA padding modes when falling back.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/security/erlang-jose/Makefile \
    pkgsrc/security/erlang-jose/PLIST
cvs rdiff -u -r1.2 -r1.3 pkgsrc/security/erlang-jose/distinfo
cvs rdiff -u -r1.1 -r0 \
    pkgsrc/security/erlang-jose/patches/patch-src_jose__public__key.erl

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/security/erlang-jose/Makefile
diff -u pkgsrc/security/erlang-jose/Makefile:1.1 pkgsrc/security/erlang-jose/Makefile:1.2
--- pkgsrc/security/erlang-jose/Makefile:1.1    Thu Dec 14 21:04:40 2017
+++ pkgsrc/security/erlang-jose/Makefile        Mon Mar 23 18:32:00 2020
@@ -1,18 +1,16 @@
-# $NetBSD: Makefile,v 1.1 2017/12/14 21:04:40 fhajny Exp $
+# $NetBSD: Makefile,v 1.2 2020/03/23 18:32:00 nia Exp $
 
-DISTNAME=      jose-1.8.4
+DISTNAME=      jose-1.10.1
 CATEGORIES=    security
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=potatosalad/}
+GITHUB_PROJECT=        erlang-jose
 
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      https://hexdocs.pm/jose/JOSE.html
 COMMENT=       JSON Object Signing and Encryption
 LICENSE=       mpl-2.0
 
-DEPENDS+=      erlang-base64url-[0-9]*:../../devel/erlang-base64url
-
-GITHUB_PROJECT=        erlang-jose
 WRKSRC=                ${WRKDIR}/${PKGNAME_NOREV}
-
 USE_LANGUAGES= # none
 USE_TOOLS+=    gmake
 
Index: pkgsrc/security/erlang-jose/PLIST
diff -u pkgsrc/security/erlang-jose/PLIST:1.1 pkgsrc/security/erlang-jose/PLIST:1.2
--- pkgsrc/security/erlang-jose/PLIST:1.1       Thu Dec 14 21:04:40 2017
+++ pkgsrc/security/erlang-jose/PLIST   Mon Mar 23 18:32:00 2020
@@ -1,7 +1,10 @@
-@comment $NetBSD: PLIST,v 1.1 2017/12/14 21:04:40 fhajny Exp $
+@comment $NetBSD: PLIST,v 1.2 2020/03/23 18:32:00 nia Exp $
 lib/erlang/lib/jose-${PKGVERSION}/ebin/jose.app
 lib/erlang/lib/jose-${PKGVERSION}/ebin/jose.beam
 lib/erlang/lib/jose-${PKGVERSION}/ebin/jose_app.beam
+lib/erlang/lib/jose-${PKGVERSION}/ebin/jose_base.beam
+lib/erlang/lib/jose-${PKGVERSION}/ebin/jose_base64.beam
+lib/erlang/lib/jose-${PKGVERSION}/ebin/jose_base64url.beam
 lib/erlang/lib/jose-${PKGVERSION}/ebin/jose_block_encryptor.beam
 lib/erlang/lib/jose-${PKGVERSION}/ebin/jose_chacha20_poly1305.beam
 lib/erlang/lib/jose-${PKGVERSION}/ebin/jose_chacha20_poly1305_crypto.beam
@@ -15,6 +18,7 @@ lib/erlang/lib/jose-${PKGVERSION}/ebin/j
 lib/erlang/lib/jose-${PKGVERSION}/ebin/jose_curve448_libdecaf.beam
 lib/erlang/lib/jose-${PKGVERSION}/ebin/jose_curve448_unsupported.beam
 lib/erlang/lib/jose-${PKGVERSION}/ebin/jose_json.beam
+lib/erlang/lib/jose-${PKGVERSION}/ebin/jose_json_jason.beam
 lib/erlang/lib/jose-${PKGVERSION}/ebin/jose_json_jiffy.beam
 lib/erlang/lib/jose-${PKGVERSION}/ebin/jose_json_jsone.beam
 lib/erlang/lib/jose-${PKGVERSION}/ebin/jose_json_jsx.beam
@@ -26,6 +30,7 @@ lib/erlang/lib/jose-${PKGVERSION}/ebin/j
 lib/erlang/lib/jose-${PKGVERSION}/ebin/jose_jwa.beam
 lib/erlang/lib/jose-${PKGVERSION}/ebin/jose_jwa_aes.beam
 lib/erlang/lib/jose-${PKGVERSION}/ebin/jose_jwa_aes_kw.beam
+lib/erlang/lib/jose-${PKGVERSION}/ebin/jose_jwa_base64url.beam
 lib/erlang/lib/jose-${PKGVERSION}/ebin/jose_jwa_bench.beam
 lib/erlang/lib/jose-${PKGVERSION}/ebin/jose_jwa_chacha20.beam
 lib/erlang/lib/jose-${PKGVERSION}/ebin/jose_jwa_chacha20_poly1305.beam
@@ -34,6 +39,7 @@ lib/erlang/lib/jose-${PKGVERSION}/ebin/j
 lib/erlang/lib/jose-${PKGVERSION}/ebin/jose_jwa_curve448.beam
 lib/erlang/lib/jose-${PKGVERSION}/ebin/jose_jwa_ed25519.beam
 lib/erlang/lib/jose-${PKGVERSION}/ebin/jose_jwa_ed448.beam
+lib/erlang/lib/jose-${PKGVERSION}/ebin/jose_jwa_hchacha20.beam
 lib/erlang/lib/jose-${PKGVERSION}/ebin/jose_jwa_math.beam
 lib/erlang/lib/jose-${PKGVERSION}/ebin/jose_jwa_pkcs1.beam
 lib/erlang/lib/jose-${PKGVERSION}/ebin/jose_jwa_pkcs5.beam
@@ -43,18 +49,25 @@ lib/erlang/lib/jose-${PKGVERSION}/ebin/j
 lib/erlang/lib/jose-${PKGVERSION}/ebin/jose_jwa_unsupported.beam
 lib/erlang/lib/jose-${PKGVERSION}/ebin/jose_jwa_x25519.beam
 lib/erlang/lib/jose-${PKGVERSION}/ebin/jose_jwa_x448.beam
+lib/erlang/lib/jose-${PKGVERSION}/ebin/jose_jwa_xchacha20.beam
+lib/erlang/lib/jose-${PKGVERSION}/ebin/jose_jwa_xchacha20_poly1305.beam
 lib/erlang/lib/jose-${PKGVERSION}/ebin/jose_jwe.beam
 lib/erlang/lib/jose-${PKGVERSION}/ebin/jose_jwe_alg.beam
 lib/erlang/lib/jose-${PKGVERSION}/ebin/jose_jwe_alg_aes_kw.beam
+lib/erlang/lib/jose-${PKGVERSION}/ebin/jose_jwe_alg_c20p_kw.beam
 lib/erlang/lib/jose-${PKGVERSION}/ebin/jose_jwe_alg_dir.beam
+lib/erlang/lib/jose-${PKGVERSION}/ebin/jose_jwe_alg_ecdh_1pu.beam
 lib/erlang/lib/jose-${PKGVERSION}/ebin/jose_jwe_alg_ecdh_es.beam
 lib/erlang/lib/jose-${PKGVERSION}/ebin/jose_jwe_alg_pbes2.beam
 lib/erlang/lib/jose-${PKGVERSION}/ebin/jose_jwe_alg_rsa.beam
+lib/erlang/lib/jose-${PKGVERSION}/ebin/jose_jwe_alg_xc20p_kw.beam
 lib/erlang/lib/jose-${PKGVERSION}/ebin/jose_jwe_enc.beam
 lib/erlang/lib/jose-${PKGVERSION}/ebin/jose_jwe_enc_aes.beam
-lib/erlang/lib/jose-${PKGVERSION}/ebin/jose_jwe_enc_chacha20_poly1305.beam
+lib/erlang/lib/jose-${PKGVERSION}/ebin/jose_jwe_enc_c20p.beam
+lib/erlang/lib/jose-${PKGVERSION}/ebin/jose_jwe_enc_xc20p.beam
 lib/erlang/lib/jose-${PKGVERSION}/ebin/jose_jwe_zip.beam
 lib/erlang/lib/jose-${PKGVERSION}/ebin/jose_jwk.beam
+lib/erlang/lib/jose-${PKGVERSION}/ebin/jose_jwk_der.beam
 lib/erlang/lib/jose-${PKGVERSION}/ebin/jose_jwk_kty.beam
 lib/erlang/lib/jose-${PKGVERSION}/ebin/jose_jwk_kty_ec.beam
 lib/erlang/lib/jose-${PKGVERSION}/ebin/jose_jwk_kty_oct.beam
@@ -89,7 +102,12 @@ lib/erlang/lib/jose-${PKGVERSION}/ebin/j
 lib/erlang/lib/jose-${PKGVERSION}/ebin/jose_sha3_libdecaf.beam
 lib/erlang/lib/jose-${PKGVERSION}/ebin/jose_sha3_unsupported.beam
 lib/erlang/lib/jose-${PKGVERSION}/ebin/jose_sup.beam
+lib/erlang/lib/jose-${PKGVERSION}/ebin/jose_xchacha20_poly1305.beam
+lib/erlang/lib/jose-${PKGVERSION}/ebin/jose_xchacha20_poly1305_crypto.beam
+lib/erlang/lib/jose-${PKGVERSION}/ebin/jose_xchacha20_poly1305_unsupported.beam
 lib/erlang/lib/jose-${PKGVERSION}/include/jose.hrl
+lib/erlang/lib/jose-${PKGVERSION}/include/jose_base.hrl
+lib/erlang/lib/jose-${PKGVERSION}/include/jose_compat.hrl
 lib/erlang/lib/jose-${PKGVERSION}/include/jose_jwe.hrl
 lib/erlang/lib/jose-${PKGVERSION}/include/jose_jwk.hrl
 lib/erlang/lib/jose-${PKGVERSION}/include/jose_jws.hrl

Index: pkgsrc/security/erlang-jose/distinfo
diff -u pkgsrc/security/erlang-jose/distinfo:1.2 pkgsrc/security/erlang-jose/distinfo:1.3
--- pkgsrc/security/erlang-jose/distinfo:1.2    Fri Jul 20 09:55:47 2018
+++ pkgsrc/security/erlang-jose/distinfo        Mon Mar 23 18:32:00 2020
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.2 2018/07/20 09:55:47 fhajny Exp $
+$NetBSD: distinfo,v 1.3 2020/03/23 18:32:00 nia Exp $
 
-SHA1 (jose-1.8.4.tar.gz) = ce78563fbc0cb71121230f8883fde747c558e55b
-RMD160 (jose-1.8.4.tar.gz) = 94f38bc1018bc87af0b2c386b0e0b790464bd9f6
-SHA512 (jose-1.8.4.tar.gz) = 47171b4e5f6b61735a15365b4130c110c14de1f4b157cdbf97b448550d48de4ab27a30537e9d9f613d87862d592b3bd95638daacee60f3f5b9877d80a3de773b
-Size (jose-1.8.4.tar.gz) = 230947 bytes
-SHA1 (patch-src_jose__public__key.erl) = f7a0a75a332d3b58ab4946ff88835b6149a74589
+SHA1 (jose-1.10.1.tar.gz) = 97f4ccf34ec7eb751068f76d3deda83660e797ff
+RMD160 (jose-1.10.1.tar.gz) = ed315e1126b8cbcfd0f57da277ac22d99ec5cfb2
+SHA512 (jose-1.10.1.tar.gz) = 2887a1d43e212516b32a0a690d5a94e6a797b4802b21fa0a51cc4830790f56625575db38af8fb1c0f4cf4694740c6149eb75989cfbd51867af69c1b23b7ba8ee
+Size (jose-1.10.1.tar.gz) = 279187 bytes



Home | Main Index | Thread Index | Old Index