Merge pull request #90 from Spomky/lexik-jose-bridge

This commit is contained in:
Symfony
2017-09-25 03:22:47 -07:00
committed by GitHub
4 changed files with 30 additions and 1 deletions
+1 -1
View File
@@ -3,6 +3,6 @@
"SpomkyLabs\\JoseBundle\\SpomkyLabsJoseBundle": ["all"]
},
"copy-from-recipe": {
"config": "%CONFIG_DIR%/"
"config/": "%CONFIG_DIR%"
}
}
@@ -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": "/tmp/sl_jose/"
}
}
@@ -0,0 +1,2 @@
<bg=blue;fg=white> Next for SpomkyLabsLexikJoseBundle </>
Run <comment>make cache-warmup</> to generate keys.