Skip to content

Releases: php-soap/psr18-wsse-middleware

Version 2.7.0

20 Oct 11:19
2.7.0
2c1461b

Choose a tag to compare

What's Changed

  • Upgrade PHP project to support 8.3, 8.4, and 8.5 by @veewee in #23

Full Changelog: 2.6.0...2.7.0

Version 2.6.0

21 Mar 14:36
2.6.0
32c909a

Choose a tag to compare

What's Changed

  • Update phpunit/phpunit requirement from ^10.0 to ^11.4 by @dependabot in #19
  • Update symfony/http-client requirement from ^6.1 to ^7.1 by @dependabot in #20
  • Allow modification of encryptSignature by @jfschubert in #22

New Contributors

Full Changelog: 2.5.0...2.6.0

Version 2.5.0

25 Oct 08:51
2.5.0
fcaf36d

Choose a tag to compare

What's Changed

Full Changelog: 2.4.0...2.5.0

Version 2.4.0

29 Apr 11:00
2.4.0
ef7c8ae

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 2.3.0...2.4.0

Version 2.3.0

24 Nov 07:52
2.3.0
34bc469

Choose a tag to compare

What's Changed

Full Changelog: 2.2.0...2.3.0

Version 2.2.0

23 Nov 10:37
2.2.0
4ef7477

Choose a tag to compare

What's Changed

  • Add shortcut key-store for combined PEM client certificates by @veewee in #14

Full Changelog: 2.1.1...2.2.0

Release 2.1.1

31 Mar 11:42
2.1.1
1d3c693

Choose a tag to compare

What's Changed

Full Changelog: v2.1.0...2.1.1

Release 2.1.0

25 Nov 07:59
v2.1.0
be8a150

Choose a tag to compare

What's Changed

  • Update symfony/http-client requirement from ^5.3 to ^6.1 by @dependabot in #7
  • Add PHP82 + PSL2 Support by @veewee in #8

New Contributors

Full Changelog: v2.0.0...v2.1.0

v2.0.0

24 Jun 06:27
v2.0.0
cdcea47

Choose a tag to compare

What's Changed

$privKey = Key::fromFile('security_token.priv')->withPassphrase('xxx'); // Regular private key (not wrapped in X509)
$pubKey = Certificate::fromFile('security_token.pub'); // Public X509 cert
$signKey = Certificate::fromFile('sign-key.pem'); // X509 cert for signing. Could be the same as $pubKey.

$wsseMiddleware = new WsseMiddleware(
    outgoing: [
        new Entry\Timestamp(60),
        new Entry\BinarySecurityToken($pubKey),
        (new Entry\Signature(
            $privKey,
            new KeyIdentifier\BinarySecurityTokenIdentifier()
        ))
        (new Entry\Encryption(
            $signKey,
            new KeyIdentifier\X509SubjectKeyIdentifier($signKey)
        ))
            ->withKeyEncryptionMethod(KeyEncryptionMethod::RSA_OAEP_MGF1P)
            ->withDataEncryptionMethod(DataEncryptionMethod::AES256_CBC)
    ],
    incoming: [
        new Entry\Decryption($privKey)
    ]
);

Full Changelog: v1.1.0...v2.0.0

Release v1.1.0

26 Nov 11:15
v1.1.0
a027b4d

Choose a tag to compare

What's Changed

  • Correct composer usage in README by @Josh-G in #1
  • PHP 8.1 Compatibility by @veewee in #2

New Contributors

Full Changelog: v1.0.0...v1.1.0