File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
6
6
7
7
## [ Unreleased]
8
8
9
+ ## [ 8.2.1] - released 2020-11-26
10
+ ### Fixed
11
+ - If you have a password on your private key, it is now passed correctly to the JWT configuration object. (PR #1159 )
12
+
9
13
## [ 8.2.0] - released 2020-11-25
10
14
### Added
11
15
- Add a ` getRedirectUri ` function to the ` OAuthServerException ` class (PR #1123 )
@@ -511,7 +515,8 @@ Version 5 is a complete code rewrite.
511
515
512
516
- First major release
513
517
514
- [ Unreleased ] : https://github.com/thephpleague/oauth2-server/compare/8.2.0...HEAD
518
+ [ Unreleased ] : https://github.com/thephpleague/oauth2-server/compare/8.2.1...HEAD
519
+ [ 8.2.1 ] : https://github.com/thephpleague/oauth2-server/compare/8.2.0...8.2.1
515
520
[ 8.2.0 ] : https://github.com/thephpleague/oauth2-server/compare/8.1.1...8.2.0
516
521
[ 8.1.1 ] : https://github.com/thephpleague/oauth2-server/compare/8.1.0...8.1.1
517
522
[ 8.1.0 ] : https://github.com/thephpleague/oauth2-server/compare/8.0.0...8.1.0
Original file line number Diff line number Diff line change @@ -46,7 +46,9 @@ public function initJwtConfiguration()
46
46
{
47
47
$ privateKeyPassPhrase = $ this ->privateKey ->getPassPhrase ();
48
48
49
- $ verificationKey = empty ($ privateKeyPassPhrase ) ? InMemory::plainText ('' ) : $ privateKeyPassPhrase ;
49
+ $ verificationKey = empty ($ privateKeyPassPhrase ) ?
50
+ InMemory::plainText ('' ) :
51
+ InMemory::plainText ($ this ->privateKey ->getPassPhrase ());
50
52
51
53
$ this ->jwtConfiguration = Configuration::forAsymmetricSigner (
52
54
new Sha256 (),
You can’t perform that action at this time.
0 commit comments