Remove unused HS256 signing algorithm

This commit is contained in:
ErickSkrauch
2024-06-14 03:21:00 +02:00
parent 0a666e1e12
commit 17109f8eb5
7 changed files with 25 additions and 23 deletions

View File

@@ -2,7 +2,6 @@
return [
'components' => [
'tokens' => [
'hmacKey' => 'tests-secret-key',
'privateKeyPath' => codecept_data_dir('certs/private.pem'),
'privateKeyPass' => null,
'encryptionKey' => 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',

View File

@@ -31,7 +31,6 @@ return [
],
'tokens' => [
'class' => api\components\Tokens\Component::class,
'hmacKey' => getenv('JWT_USER_SECRET'),
'privateKeyPath' => getenv('JWT_PRIVATE_KEY_PATH') ?: __DIR__ . '/../../data/certs/private.pem',
'privateKeyPass' => getenv('JWT_PRIVATE_KEY_PASS') ?: null,
'encryptionKey' => getenv('JWT_ENCRYPTION_KEY'),