Skip to content
This repository has been archived by the owner on Dec 30, 2020. It is now read-only.

Releases: Spomky-Labs/jose

Version 7.1.0

03 May 07:38
c783529
Compare
Choose a tag to compare

This new minor release allows custom headers to be set to the X5U/JKU requests.

Version 6.1.7

19 Feb 09:24
108bde9
Compare
Choose a tag to compare

This bug release fixes #314

v7.0.1: Apply fixes from StyleCI (#315)

14 Feb 08:26
8ff3cce
Compare
Choose a tag to compare

Version 7.0.0

11 Oct 19:56
Compare
Choose a tag to compare

PHP 7.0 minimum

Version 6.1.6

06 Oct 06:27
Compare
Choose a tag to compare

This release fixes the following bug:

  • #290 and #292: missing key set rotation interval fixed (@mdeboer)

Version 6.1.5

23 Sep 19:41
Compare
Choose a tag to compare

Minor correction:

  • The storage folder is created if possible

Version 6.1.4

06 Feb 18:37
Compare
Choose a tag to compare

RSA Keys without primes can be used as any other keys. Primes are computed by the library.

Such keys SHOULD NOT be used as pure PHP computation are performed before the key is used.

We highly recomment you to pre-compute primes and save the new key:

use Jose\KeyConverter\RSAKey;
use Jose\Factory\JWKFactory;

$values = [
    'kty' => 'RSA',
    'n' => 'gVf-iyhwLn2J2Up4EKjwdLYmk5n24gjGk4oQkCHVcE7j8wkS1iSzcu0ApVcMPLklEp_PWycZE12vL90gPeVjF2IPL_MKFL0b6Wy7A1f4kCDkKv7TDDjt1IIwbS-Jdp-2pG7bPb3tWjJUu6QZBLoXfRtW3cMDkQjXaVGixENORLAZs6qdu2MMKV94jetCiFd0JYCjxGVC0HW2OKnM21B_2R1NubOvMlWA7gypdpvmBYDGpkw4mjV3walWlCZObG7IH84Ovl7wOP8XLzqi2un4e6fNzy3rdp4OUSPYItF4ZX5qThWYY2R47Z5sbrZxHjNeDECKUeio0KPQNrgr6FSKSw',
    'e' => 'AQAB',
    'd' => 'JSqz6ijkk3dfdSEA_0iMT_1HeIJ1ft4msZ6qw7_1JSCGQAALeZ1yM0QHO3uX-Jr7HC7v1rGVcwsonAhei2qu3rk-w_iCnRL6QkkMNBnDQycwaWpwGsMBFF-UqstOJNggE4AHX-aDnbd4wbKVvdX7ieehPngbPkHcJFdg_iSZCQNoajz6XfEruyIi7_IFXYEGmH_UyEbQkgNtriZysutgYdolUjo9flUlh20HbuV3NwsPjGyDG4dUMpNpdBpSuRHYKLX6h3FjeLhItBmhBfuL7d-G3EXwKlwfNXXYivqY5NQAkFNrRbvFlc_ARIws3zAfykPDIWGWFiPiN3H-hXMgAQ',
];

$rsa = new RSAKey($values);
$jwk = JWKFactory::createFromValues($rsa->toArray());

Version 6.1.3

25 Dec 23:37
Compare
Choose a tag to compare
  • AES GCM algorithms improvements

Version 6.1.2

22 Nov 22:33
Compare
Choose a tag to compare
  • Dependencies updated.
  • Tests on PHP 7.1 added

Version 6.1.1

18 Oct 20:17
Compare
Choose a tag to compare

This release fixes a bug when a PKCS#8 (private key) is loaded.
It also includes a method that prepare the PEM to always get linebreaks after 64 characters.