Skip to content

Commit

Permalink
erlang-jose: Update to 1.10.1
Browse files Browse the repository at this point in the history
# 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](potatosalad/erlang-jose#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](potatosalad/erlang-jose#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.
  • Loading branch information
alarixnia committed Mar 23, 2020
1 parent dd6256d commit f9f5ea0
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 32 deletions.
10 changes: 4 additions & 6 deletions security/erlang-jose/Makefile
Original file line number Diff line number Diff line change
@@ -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= [email protected]
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

Expand Down
22 changes: 20 additions & 2 deletions security/erlang-jose/PLIST
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -15,6 +18,7 @@ lib/erlang/lib/jose-${PKGVERSION}/ebin/jose_curve448.beam
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
Expand All @@ -26,6 +30,7 @@ lib/erlang/lib/jose-${PKGVERSION}/ebin/jose_json_unsupported.beam
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
Expand All @@ -34,6 +39,7 @@ lib/erlang/lib/jose-${PKGVERSION}/ebin/jose_jwa_curve25519.beam
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
Expand All @@ -43,18 +49,25 @@ lib/erlang/lib/jose-${PKGVERSION}/ebin/jose_jwa_sha3.beam
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
Expand Down Expand Up @@ -89,7 +102,12 @@ lib/erlang/lib/jose-${PKGVERSION}/ebin/jose_sha3_keccakf1600_nif.beam
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
Expand Down
11 changes: 5 additions & 6 deletions security/erlang-jose/distinfo
Original file line number Diff line number Diff line change
@@ -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
18 changes: 0 additions & 18 deletions security/erlang-jose/patches/patch-src_jose__public__key.erl

This file was deleted.

0 comments on commit f9f5ea0

Please sign in to comment.