Skip to content

Commit

Permalink
Key ID Support (#35)
Browse files Browse the repository at this point in the history
Fixes #33
  • Loading branch information
Spomky committed Jan 9, 2018
1 parent 2d02f32 commit 25a2cf5
Show file tree
Hide file tree
Showing 22 changed files with 35 additions and 32 deletions.
2 changes: 1 addition & 1 deletion Checker/AlgHeaderChecker.php
Expand Up @@ -3,7 +3,7 @@
/*
* The MIT License (MIT)
*
* Copyright (c) 2014-2017 Spomky-Labs
* Copyright (c) 2014-2018 Spomky-Labs
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
Expand Down
2 changes: 1 addition & 1 deletion Checker/EncHeaderChecker.php
Expand Up @@ -3,7 +3,7 @@
/*
* The MIT License (MIT)
*
* Copyright (c) 2014-2017 Spomky-Labs
* Copyright (c) 2014-2018 Spomky-Labs
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
Expand Down
2 changes: 1 addition & 1 deletion Checker/IssuerChecker.php
Expand Up @@ -3,7 +3,7 @@
/*
* The MIT License (MIT)
*
* Copyright (c) 2014-2017 Spomky-Labs
* Copyright (c) 2014-2018 Spomky-Labs
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
Expand Down
Expand Up @@ -3,7 +3,7 @@
/*
* The MIT License (MIT)
*
* Copyright (c) 2014-2017 Spomky-Labs
* Copyright (c) 2014-2018 Spomky-Labs
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
Expand Down
2 changes: 1 addition & 1 deletion DependencyInjection/Configuration.php
Expand Up @@ -3,7 +3,7 @@
/*
* The MIT License (MIT)
*
* Copyright (c) 2014-2017 Spomky-Labs
* Copyright (c) 2014-2018 Spomky-Labs
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
Expand Down
2 changes: 1 addition & 1 deletion DependencyInjection/SpomkyLabsLexikJoseExtension.php
Expand Up @@ -3,7 +3,7 @@
/*
* The MIT License (MIT)
*
* Copyright (c) 2014-2017 Spomky-Labs
* Copyright (c) 2014-2018 Spomky-Labs
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
Expand Down
11 changes: 5 additions & 6 deletions Encoder/LexikJoseEncoder.php
Expand Up @@ -3,7 +3,7 @@
/*
* The MIT License (MIT)
*
* Copyright (c) 2014-2017 Spomky-Labs
* Copyright (c) 2014-2018 Spomky-Labs
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
Expand Down Expand Up @@ -123,7 +123,7 @@ final class LexikJoseEncoder implements JWTEncoderInterface
* @param ClaimCheckerManager $claimCheckerManager
* @param HeaderCheckerManager $signatureHeaderCheckerManager
* @param JWKSet $signatureKeyset
* @param int $signatureKeyIndex
* @param int|string $signatureKeyIndex
* @param string $signatureAlgorithm
* @param string $issuer
* @param int $ttl
Expand All @@ -133,7 +133,7 @@ public function __construct(JWSBuilder $jwsBuilder,
ClaimCheckerManager $claimCheckerManager,
HeaderCheckerManager $signatureHeaderCheckerManager,
JWKSet $signatureKeyset,
int $signatureKeyIndex,
$signatureKeyIndex,
string $signatureAlgorithm,
string $issuer,
int $ttl
Expand All @@ -154,11 +154,11 @@ public function __construct(JWSBuilder $jwsBuilder,
* @param JWEDecrypter $jweLoader
* @param HeaderCheckerManager $encryptionHeaderCheckerManager
* @param JWKSet $encryptionKeyset
* @param int $encryptionKeyIndex
* @param int|string $encryptionKeyIndex
* @param string $keyEncryptionAlgorithm
* @param string $contentEncryptionAlgorithm
*/
public function enableEncryptionSupport(JWEBuilder $jweBuilder, JWEDecrypter $jweLoader, HeaderCheckerManager $encryptionHeaderCheckerManager, JWKSet $encryptionKeyset, int $encryptionKeyIndex, string $keyEncryptionAlgorithm, string $contentEncryptionAlgorithm)
public function enableEncryptionSupport(JWEBuilder $jweBuilder, JWEDecrypter $jweLoader, HeaderCheckerManager $encryptionHeaderCheckerManager, JWKSet $encryptionKeyset, $encryptionKeyIndex, string $keyEncryptionAlgorithm, string $contentEncryptionAlgorithm)
{
$this->jweBuilder = $jweBuilder;
$this->jweLoader = $jweLoader;
Expand Down Expand Up @@ -332,7 +332,6 @@ private function getSignatureHeader()
{
return [
'typ' => 'JWT',
'cty' => 'JWT',
'alg' => $this->signatureAlgorithm,
'crit' => ['alg'],
];
Expand Down
2 changes: 1 addition & 1 deletion SpomkyLabsLexikJoseBundle.php
Expand Up @@ -3,7 +3,7 @@
/*
* The MIT License (MIT)
*
* Copyright (c) 2014-2017 Spomky-Labs
* Copyright (c) 2014-2018 Spomky-Labs
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
Expand Down
2 changes: 1 addition & 1 deletion Tests/Bundle/TestBundle/Checker/IpClaimChecker.php
Expand Up @@ -3,7 +3,7 @@
/*
* The MIT License (MIT)
*
* Copyright (c) 2014-2017 Spomky-Labs
* Copyright (c) 2014-2018 Spomky-Labs
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
Expand Down
2 changes: 1 addition & 1 deletion Tests/Bundle/TestBundle/Controller/ApiController.php
Expand Up @@ -3,7 +3,7 @@
/*
* The MIT License (MIT)
*
* Copyright (c) 2014-2017 Spomky-Labs
* Copyright (c) 2014-2018 Spomky-Labs
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
Expand Down
2 changes: 1 addition & 1 deletion Tests/Bundle/TestBundle/Controller/LoginController.php
Expand Up @@ -3,7 +3,7 @@
/*
* The MIT License (MIT)
*
* Copyright (c) 2014-2017 Spomky-Labs
* Copyright (c) 2014-2018 Spomky-Labs
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
Expand Down
Expand Up @@ -3,7 +3,7 @@
/*
* The MIT License (MIT)
*
* Copyright (c) 2014-2017 Spomky-Labs
* Copyright (c) 2014-2018 Spomky-Labs
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
Expand Down
2 changes: 1 addition & 1 deletion Tests/Bundle/TestBundle/EventListener/JWTListener.php
Expand Up @@ -3,7 +3,7 @@
/*
* The MIT License (MIT)
*
* Copyright (c) 2014-2017 Spomky-Labs
* Copyright (c) 2014-2018 Spomky-Labs
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
Expand Down
2 changes: 1 addition & 1 deletion Tests/Bundle/TestBundle/SpomkyLabsTestBundle.php
Expand Up @@ -3,7 +3,7 @@
/*
* The MIT License (MIT)
*
* Copyright (c) 2014-2017 Spomky-Labs
* Copyright (c) 2014-2018 Spomky-Labs
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
Expand Down
2 changes: 1 addition & 1 deletion Tests/Context/FeatureContext.php
Expand Up @@ -3,7 +3,7 @@
/*
* The MIT License (MIT)
*
* Copyright (c) 2014-2017 Spomky-Labs
* Copyright (c) 2014-2018 Spomky-Labs
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
Expand Down
10 changes: 7 additions & 3 deletions Tests/Context/LoginContext.php
Expand Up @@ -3,7 +3,7 @@
/*
* The MIT License (MIT)
*
* Copyright (c) 2014-2017 Spomky-Labs
* Copyright (c) 2014-2018 Spomky-Labs
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
Expand Down Expand Up @@ -318,14 +318,18 @@ public function iStoreTheToken()
*/
private function getSignatureKey(): JWK
{
return $this->getContainer()->get('jose.key_set.lexik_jose_bridge.signature')->get(0);
$keyIndex = $this->getContainer()->getParameter('lexik_jose_bridge.encoder.key_index');

return $this->getContainer()->get('jose.key_set.lexik_jose_bridge.signature')->get($keyIndex);
}

/**
* @return JWK
*/
private function getEncryptionKey(): JWK
{
return $this->getContainer()->get('jose.key_set.lexik_jose_bridge.encryption')->get(0);
$keyIndex = $this->getContainer()->getParameter('lexik_jose_bridge.encoder.encryption.key_index');

return $this->getContainer()->get('jose.key_set.lexik_jose_bridge.encryption')->get($keyIndex);
}
}
2 changes: 1 addition & 1 deletion Tests/Context/RequestBuilder.php
Expand Up @@ -3,7 +3,7 @@
/*
* The MIT License (MIT)
*
* Copyright (c) 2014-2017 Spomky-Labs
* Copyright (c) 2014-2018 Spomky-Labs
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
Expand Down
2 changes: 1 addition & 1 deletion Tests/Context/RequestContext.php
Expand Up @@ -3,7 +3,7 @@
/*
* The MIT License (MIT)
*
* Copyright (c) 2014-2017 Spomky-Labs
* Copyright (c) 2014-2018 Spomky-Labs
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
Expand Down
2 changes: 1 addition & 1 deletion Tests/Context/ResponseContext.php
Expand Up @@ -3,7 +3,7 @@
/*
* The MIT License (MIT)
*
* Copyright (c) 2014-2017 Spomky-Labs
* Copyright (c) 2014-2018 Spomky-Labs
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
Expand Down
2 changes: 1 addition & 1 deletion Tests/app/AppKernel.php
Expand Up @@ -3,7 +3,7 @@
/*
* The MIT License (MIT)
*
* Copyright (c) 2014-2017 Spomky-Labs
* Copyright (c) 2014-2018 Spomky-Labs
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
Expand Down
2 changes: 1 addition & 1 deletion Tests/app/autoload.php
Expand Up @@ -3,7 +3,7 @@
/*
* The MIT License (MIT)
*
* Copyright (c) 2014-2017 Spomky-Labs
* Copyright (c) 2014-2018 Spomky-Labs
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
Expand Down
8 changes: 4 additions & 4 deletions Tests/app/config/config.yml
Expand Up @@ -27,14 +27,14 @@ twig:
lexik_jose:
ttl: 1000
server_name: 'https://my.super-service.org/'
key_set: '{"keys":[{"kty":"RSA","n":"pSTpJCCjswGaJrmIDj2lVe4eQL2pQaxeCSjuqvNcBs-qTNs_82HVR5m4O-bDjkajIcmMOtVdIdIfdHWfAvEVD2_jQQ_V-9H2jEB_YTkn70VJm2qCJa35FVhVCnFOUfSXfpjmBNLIlcuwe2j5dzXtORKCt5p2f2XmkkSqws0HyFs","e":"AQAB","d":"DtZCG_zSu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jwMzHCmSkFDepme76lt-n9GUZBzbR_C346JfTYurIlxYI5Bp6irERrPbTTHt3DDUAE","p":"_Fcesus5qT7vA1kwJiXQSX0qXRFVKYCM4Y3-yRWy_A7JJ_gnQbWrcTIEQnkeBAuoZv7fFLdZYNJNvxcXiu0CAQ","q":"5JnxUr-6Y1kZgnjM57vXUaXH8MhXBX1Gh_CFwzteM1CTX4EWEtmWHAz3DALSuLKmFGdNLIM3wfuso6_om0JACQ","dp":"pWk2ZnJrSdZHNxqvxVHkR0gVDQzflmT99Jzv90CSI0hN9DVnBlvgFkODJ0_drSk3KszHzvyhSiaRcEHi3N6gAQ","dq":"Oeq2tVxWAK2mROQOJff1SX5S9bIMOhvPLsnFWf1ElIOpktzFlukBmwG95ZEhiiHY6fpyFwD3s3Hr_1yl9hAG4Q","qi":"siHzVDQNwhpSVYy5knDeJKPDuda5lhpS_Wc9Lk6hdzSj4FShI4G2Ohd4XSImrORBjA8vy5Nlt7EO7hq7S-6x7g"}]}'
key_index: "KEY_ID_0"
signature_algorithm: 'RS512' # The signature algorithm we want to use
claim_checked:
- 'lexik_jose_checker_claim_ip'
encryption:
enabled: true # We enable the encryption support
key_set: '{"keys":[{"kty":"oct","k":"z4nNE2pBccJDVs8Qnk7Znt1hTL3sqXz2kF3dsJqN_xE"},{"kty":"oct","k":"sT3DyQXDIOwe6ADQtqusXAMyC-IaJZ2qqVvyK_d6P00"},{"kty":"oct","k":"YLSnh2cw6qVtv1bRjOdHBS3fkF7e3HGbe04nBcuRflM"}]}'
key_index: 0
key_set: '{"keys":[{"kid":"KEY_ID_0","kty":"oct","k":"z4nNE2pBccJDVs8Qnk7Znt1hTL3sqXz2kF3dsJqN_xE"},{"kid":"KEY_ID_1","kty":"oct","k":"sT3DyQXDIOwe6ADQtqusXAMyC-IaJZ2qqVvyK_d6P00"},{"kid":"KEY_ID_2","kty":"oct","k":"YLSnh2cw6qVtv1bRjOdHBS3fkF7e3HGbe04nBcuRflM"}]}'
key_index: "KEY_ID_0"
key_encryption_algorithm: 'A256GCMKW' # The key encryption algorithm
content_encryption_algorithm: 'A256GCM' # The content encryption algorithm

0 comments on commit 25a2cf5

Please sign in to comment.