Adds Spomky-Labs Lexik Jose Bridge v1.0

This commit is contained in:
Spomky
2017-09-23 15:59:21 +02:00
parent 7c0f85696f
commit 41d61bac0f
3 changed files with 29 additions and 0 deletions
@@ -0,0 +1,15 @@
lexik_jose:
ttl: 1000
server_name: '%env(SL_JOSE_BRIDGE_SERVER_NAME)%'
key_storage_folder: '%env(SL_JOSE_BRIDGE_KEY_STORAGE_FOLDER)%/'
signature_algorithm: 'RS512'
signature_key_configuration:
kty: 'RSA'
size: 4096
encryption:
enabled: true
encryption_key_configuration:
kty: 'oct'
size: 256
key_encryption_algorithm: 'A256KW'
content_encryption_algorithm: 'A256CBC-HS512'
@@ -0,0 +1,12 @@
{
"bundles": {
"SpomkyLabs\\LexikJoseBundle\\SpomkyLabsLexikJoseBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%"
},
"env": {
"SL_JOSE_BRIDGE_SERVER_NAME": "https://www.my-service.com/",
"SL_JOSE_BRIDGE_KEY_STORAGE_FOLDER": "%CONFIG_DIR%/sl_jose/"
}
}
@@ -0,0 +1,2 @@
<bg=blue;fg=white> Next for SpomkyLabsLexikJoseBundle </>
Run <comment>make cache-warmup</> to generate keys.