From 41d61bac0f08ad821085fe93ae4d92e7b4e33f68 Mon Sep 17 00:00:00 2001 From: Spomky Date: Sat, 23 Sep 2017 15:59:21 +0200 Subject: [PATCH 1/3] Adds Spomky-Labs Lexik Jose Bridge v1.0 --- .../spomky_labs_lexik_jose_bridge_bundle.yaml | 15 +++++++++++++++ spomky-labs/lexik-jose-bridge/1.0/manifest.json | 12 ++++++++++++ .../lexik-jose-bridge/1.0/post-install.txt | 2 ++ 3 files changed, 29 insertions(+) create mode 100644 spomky-labs/lexik-jose-bridge/1.0/config/packages/spomky_labs_lexik_jose_bridge_bundle.yaml create mode 100644 spomky-labs/lexik-jose-bridge/1.0/manifest.json create mode 100644 spomky-labs/lexik-jose-bridge/1.0/post-install.txt diff --git a/spomky-labs/lexik-jose-bridge/1.0/config/packages/spomky_labs_lexik_jose_bridge_bundle.yaml b/spomky-labs/lexik-jose-bridge/1.0/config/packages/spomky_labs_lexik_jose_bridge_bundle.yaml new file mode 100644 index 00000000..896a9ed4 --- /dev/null +++ b/spomky-labs/lexik-jose-bridge/1.0/config/packages/spomky_labs_lexik_jose_bridge_bundle.yaml @@ -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' diff --git a/spomky-labs/lexik-jose-bridge/1.0/manifest.json b/spomky-labs/lexik-jose-bridge/1.0/manifest.json new file mode 100644 index 00000000..e8b7bf3d --- /dev/null +++ b/spomky-labs/lexik-jose-bridge/1.0/manifest.json @@ -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/" + } +} diff --git a/spomky-labs/lexik-jose-bridge/1.0/post-install.txt b/spomky-labs/lexik-jose-bridge/1.0/post-install.txt new file mode 100644 index 00000000..3a14183d --- /dev/null +++ b/spomky-labs/lexik-jose-bridge/1.0/post-install.txt @@ -0,0 +1,2 @@ + Next for SpomkyLabsLexikJoseBundle + Run make cache-warmup to generate keys. From 031a64e6ba468bcf216745fa88fdfe6fcb82f158 Mon Sep 17 00:00:00 2001 From: Spomky Date: Sat, 23 Sep 2017 16:06:00 +0200 Subject: [PATCH 2/3] Fix error on spomky-labs/jose-bundle --- spomky-labs/jose-bundle/2.2/manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spomky-labs/jose-bundle/2.2/manifest.json b/spomky-labs/jose-bundle/2.2/manifest.json index 2edb5c46..726bc042 100644 --- a/spomky-labs/jose-bundle/2.2/manifest.json +++ b/spomky-labs/jose-bundle/2.2/manifest.json @@ -3,6 +3,6 @@ "SpomkyLabs\\JoseBundle\\SpomkyLabsJoseBundle": ["all"] }, "copy-from-recipe": { - "config": "%CONFIG_DIR%/" + "config/": "%CONFIG_DIR%" } } From c5cb0c26c83bfe00b55eb4b879f92e3374833e4d Mon Sep 17 00:00:00 2001 From: Spomky Date: Sat, 23 Sep 2017 21:31:24 +0200 Subject: [PATCH 3/3] env value changed --- spomky-labs/lexik-jose-bridge/1.0/manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spomky-labs/lexik-jose-bridge/1.0/manifest.json b/spomky-labs/lexik-jose-bridge/1.0/manifest.json index e8b7bf3d..70b4dc11 100644 --- a/spomky-labs/lexik-jose-bridge/1.0/manifest.json +++ b/spomky-labs/lexik-jose-bridge/1.0/manifest.json @@ -7,6 +7,6 @@ }, "env": { "SL_JOSE_BRIDGE_SERVER_NAME": "https://www.my-service.com/", - "SL_JOSE_BRIDGE_KEY_STORAGE_FOLDER": "%CONFIG_DIR%/sl_jose/" + "SL_JOSE_BRIDGE_KEY_STORAGE_FOLDER": "/tmp/sl_jose/" } }