mirror of
https://github.com/symfony/recipes.git
synced 2026-09-21 03:56:24 +03:00
Update Flex archives
This commit is contained in:
+38
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"manifests": {
|
||||
"lexik/jwt-authentication-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"Lexik\\Bundle\\JWTAuthenticationBundle\\LexikJWTAuthenticationBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%"
|
||||
},
|
||||
"env": {
|
||||
"#1": "Key paths should be relative to the project directory",
|
||||
"JWT_PRIVATE_KEY_PATH": "%CONFIG_DIR%/jwt/private.pem",
|
||||
"JWT_PUBLIC_KEY_PATH": "%CONFIG_DIR%/jwt/public.pem",
|
||||
"JWT_PASSPHRASE": "%generate(secret)%"
|
||||
},
|
||||
"gitignore": [
|
||||
"/%CONFIG_DIR%/jwt/*.pem"
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"config/packages/lexik_jwt_authentication.yaml": {
|
||||
"contents": [
|
||||
"lexik_jwt_authentication:",
|
||||
" private_key_path: '%kernel.project_dir%/%env(JWT_PRIVATE_KEY_PATH)%'",
|
||||
" public_key_path: '%kernel.project_dir%/%env(JWT_PUBLIC_KEY_PATH)%'",
|
||||
" pass_phrase: '%env(JWT_PASSPHRASE)%'",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "0f00a6998e1b6c612de52caf4ab5417bef724e93"
|
||||
}
|
||||
}
|
||||
}
|
||||
+38
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"manifests": {
|
||||
"lexik/jwt-authentication-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"Lexik\\Bundle\\JWTAuthenticationBundle\\LexikJWTAuthenticationBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%"
|
||||
},
|
||||
"env": {
|
||||
"#1": "Key paths should be relative to the project directory",
|
||||
"JWT_PRIVATE_KEY_PATH": "%CONFIG_DIR%/jwt/private.pem",
|
||||
"JWT_PUBLIC_KEY_PATH": "%CONFIG_DIR%/jwt/public.pem",
|
||||
"JWT_PASSPHRASE": "%generate(secret)%"
|
||||
},
|
||||
"gitignore": [
|
||||
"%CONFIG_DIR%/jwt/*.pem"
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"config/packages/lexik_jwt_authentication.yaml": {
|
||||
"contents": [
|
||||
"lexik_jwt_authentication:",
|
||||
" private_key_path: '%kernel.project_dir%/%env(JWT_PRIVATE_KEY_PATH)%'",
|
||||
" public_key_path: '%kernel.project_dir%/%env(JWT_PUBLIC_KEY_PATH)%'",
|
||||
" pass_phrase: '%env(JWT_PASSPHRASE)%'",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "12e7b3a8e46bde0bf45f1724241ea95abda67f5c"
|
||||
}
|
||||
}
|
||||
}
|
||||
+48
@@ -0,0 +1,48 @@
|
||||
{
|
||||
"manifests": {
|
||||
"lexik/jwt-authentication-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"Lexik\\Bundle\\JWTAuthenticationBundle\\LexikJWTAuthenticationBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"etc/": "%ETC_DIR%"
|
||||
},
|
||||
"env": {
|
||||
"JWT_PRIVATE_KEY_PATH": "%ETC_DIR%/jwt/private.pem",
|
||||
"JWT_PUBLIC_KEY_PATH": "%ETC_DIR%/jwt/public.pem",
|
||||
"JWT_PASSPHRASE": "%generate(secret)%"
|
||||
},
|
||||
"post-install-output": [
|
||||
"<bg=blue;fg=white> Next for LexikJWTAuthenticationBundle </>",
|
||||
" Run <comment>make generate-jwt-keys</> to generate a key pair."
|
||||
],
|
||||
"makefile": [
|
||||
"generate-jwt-keys:",
|
||||
"ifeq (, $(shell which openssl))",
|
||||
"$(error \"Unable to generate keys (needs OpenSSL)\")",
|
||||
"endif",
|
||||
"\tmkdir -p etc/jwt",
|
||||
"\topenssl genrsa -passout pass:${JWT_PASSPHRASE} -out ${JWT_PRIVATE_KEY_PATH} -aes256 4096",
|
||||
"\topenssl rsa -passin pass:${JWT_PASSPHRASE} -pubout -in ${JWT_PRIVATE_KEY_PATH} -out ${JWT_PUBLIC_KEY_PATH}",
|
||||
"\t@echo \"\\033[32mRSA key pair successfully generated\\033[39m\""
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"etc/packages/lexik_jwt_authentication.yaml": {
|
||||
"contents": [
|
||||
"lexik_jwt_authentication:",
|
||||
" private_key_path: '%env(JWT_PRIVATE_KEY_PATH)%'",
|
||||
" public_key_path: '%env(JWT_PUBLIC_KEY_PATH)%'",
|
||||
" pass_phrase: '%env(JWT_PASSPHRASE)%'",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "344e585aee741165f632b3e50109539f77417fab"
|
||||
}
|
||||
}
|
||||
}
|
||||
+50
@@ -0,0 +1,50 @@
|
||||
{
|
||||
"manifests": {
|
||||
"lexik/jwt-authentication-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"Lexik\\Bundle\\JWTAuthenticationBundle\\LexikJWTAuthenticationBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%"
|
||||
},
|
||||
"env": {
|
||||
"#1": "Key paths should be relative to the project directory",
|
||||
"JWT_PRIVATE_KEY_PATH": "%CONFIG_DIR%/jwt/private.pem",
|
||||
"JWT_PUBLIC_KEY_PATH": "%CONFIG_DIR%/jwt/public.pem",
|
||||
"JWT_PASSPHRASE": "%generate(secret)%"
|
||||
},
|
||||
"post-install-output": [
|
||||
"<bg=blue;fg=white> Next for LexikJWTAuthenticationBundle </>",
|
||||
" Run <comment>make generate-jwt-keys</> to generate a key pair."
|
||||
],
|
||||
"makefile": [
|
||||
"OPENSSL_BIN := $(shell which openssl)",
|
||||
"generate-jwt-keys:",
|
||||
"ifndef OPENSSL_BIN",
|
||||
"\t$(error \"Unable to generate keys (needs OpenSSL)\")",
|
||||
"endif",
|
||||
"\tmkdir -p config/jwt",
|
||||
"\topenssl genrsa -passout pass:${JWT_PASSPHRASE} -out ${JWT_PRIVATE_KEY_PATH} -aes256 4096",
|
||||
"\topenssl rsa -passin pass:${JWT_PASSPHRASE} -pubout -in ${JWT_PRIVATE_KEY_PATH} -out ${JWT_PUBLIC_KEY_PATH}",
|
||||
"\t@echo \"\\033[32mRSA key pair successfully generated\\033[39m\""
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"config/packages/lexik_jwt_authentication.yaml": {
|
||||
"contents": [
|
||||
"lexik_jwt_authentication:",
|
||||
" private_key_path: '%kernel.project_dir%/%env(JWT_PRIVATE_KEY_PATH)%'",
|
||||
" public_key_path: '%kernel.project_dir%/%env(JWT_PUBLIC_KEY_PATH)%'",
|
||||
" pass_phrase: '%env(JWT_PASSPHRASE)%'",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "3c5ac7e244efbe090c2b5ce15cc2b98705f78a14"
|
||||
}
|
||||
}
|
||||
}
|
||||
+38
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"manifests": {
|
||||
"lexik/jwt-authentication-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"Lexik\\Bundle\\JWTAuthenticationBundle\\LexikJWTAuthenticationBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%"
|
||||
},
|
||||
"env": {
|
||||
"#1": "Key paths should be relative to the project directory",
|
||||
"JWT_PRIVATE_KEY_PATH": "%CONFIG_DIR%/jwt/private.pem",
|
||||
"JWT_PUBLIC_KEY_PATH": "%CONFIG_DIR%/jwt/public.pem",
|
||||
"JWT_PASSPHRASE": "%generate(secret)%"
|
||||
},
|
||||
"gitignore": [
|
||||
"/%CONFIG_DIR%/jwt/*.pem"
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"config/packages/lexik_jwt_authentication.yaml": {
|
||||
"contents": [
|
||||
"lexik_jwt_authentication:",
|
||||
" private_key_path: '%kernel.project_dir%/%env(JWT_PRIVATE_KEY_PATH)%'",
|
||||
" public_key_path: '%kernel.project_dir%/%env(JWT_PUBLIC_KEY_PATH)%'",
|
||||
" pass_phrase: '%env(JWT_PASSPHRASE)%'",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "42cd3a3895e580dc9c89856b61fe986cafd7d23f"
|
||||
}
|
||||
}
|
||||
}
|
||||
+39
@@ -0,0 +1,39 @@
|
||||
{
|
||||
"manifests": {
|
||||
"lexik/jwt-authentication-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"Lexik\\Bundle\\JWTAuthenticationBundle\\LexikJWTAuthenticationBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%"
|
||||
},
|
||||
"env": {
|
||||
"#1": "Key paths should be relative to the project directory",
|
||||
"JWT_PRIVATE_KEY_PATH": "%CONFIG_DIR%/jwt/private.pem",
|
||||
"JWT_PUBLIC_KEY_PATH": "%CONFIG_DIR%/jwt/public.pem",
|
||||
"JWT_PASSPHRASE": "%generate(secret)%"
|
||||
},
|
||||
"post-install-output": [
|
||||
"<bg=blue;fg=white> Next for LexikJWTAuthenticationBundle </>",
|
||||
" Run <comment>make generate-jwt-keys</> to generate a key pair."
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"config/packages/lexik_jwt_authentication.yaml": {
|
||||
"contents": [
|
||||
"lexik_jwt_authentication:",
|
||||
" private_key_path: '%kernel.project_dir%/%env(JWT_PRIVATE_KEY_PATH)%'",
|
||||
" public_key_path: '%kernel.project_dir%/%env(JWT_PUBLIC_KEY_PATH)%'",
|
||||
" pass_phrase: '%env(JWT_PASSPHRASE)%'",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "43a8087d4ce9d7d43a87d7f885cb1610d48c1026"
|
||||
}
|
||||
}
|
||||
}
|
||||
+47
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"manifests": {
|
||||
"lexik/jwt-authentication-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"Lexik\\Bundle\\JWTAuthenticationBundle\\LexikJWTAuthenticationBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"etc/": "%ETC_DIR%"
|
||||
},
|
||||
"env": {
|
||||
"JWT_PRIVATE_KEY_PATH": "%ETC_DIR%/jwt/private.pem",
|
||||
"JWT_PUBLIC_KEY_PATH": "%ETC_DIR%/jwt/public.pem",
|
||||
"JWT_PASSPHRASE": "%generate(secret)%"
|
||||
},
|
||||
"post-install-output": [
|
||||
"<bg=blue;fg=white>Now</>, run <comment>make generate-jwt-keys</> to generate a key pair for LexikJWTAuthenticationBundle."
|
||||
],
|
||||
"makefile": [
|
||||
"generate-jwt-keys:",
|
||||
"ifeq (, $(shell which openssl))",
|
||||
"$(error \"Unable to generate keys (needs OpenSSL)\")",
|
||||
"endif",
|
||||
"\tmkdir -p etc/jwt",
|
||||
"\topenssl genrsa -passout pass:${JWT_PASSPHRASE} -out ${JWT_PRIVATE_KEY_PATH} -aes256 4096",
|
||||
"\topenssl rsa -passin pass:${JWT_PASSPHRASE} -pubout -in ${JWT_PRIVATE_KEY_PATH} -out ${JWT_PUBLIC_KEY_PATH}",
|
||||
"\t@echo \"\\033[32mRSA key pair successfully generated\\033[39m\""
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"etc/packages/lexik_jwt_authentication.yaml": {
|
||||
"contents": [
|
||||
"lexik_jwt_authentication:",
|
||||
" private_key_path: \"%env(JWT_PRIVATE_KEY_PATH)%\"",
|
||||
" public_key_path: \"%env(JWT_PUBLIC_KEY_PATH)%\"",
|
||||
" pass_phrase: \"%env(JWT_PASSPHRASE)%\"",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "45cfc38eddb4497cf79fbb4a1f733a09282d0fb8"
|
||||
}
|
||||
}
|
||||
}
|
||||
+50
@@ -0,0 +1,50 @@
|
||||
{
|
||||
"manifests": {
|
||||
"lexik/jwt-authentication-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"Lexik\\Bundle\\JWTAuthenticationBundle\\LexikJWTAuthenticationBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%"
|
||||
},
|
||||
"env": {
|
||||
"#1": "Key paths should be relative to the project directory",
|
||||
"JWT_PRIVATE_KEY_PATH": "%CONFIG_DIR%/jwt/private.pem",
|
||||
"JWT_PUBLIC_KEY_PATH": "%CONFIG_DIR%/jwt/public.pem",
|
||||
"JWT_PASSPHRASE": "%generate(secret)%"
|
||||
},
|
||||
"post-install-output": [
|
||||
"<bg=blue;fg=white> Next for LexikJWTAuthenticationBundle </>",
|
||||
" Run <comment>make generate-jwt-keys</> to generate a key pair."
|
||||
],
|
||||
"makefile": [
|
||||
"OPENSSL_BIN := $(shell which openssl)",
|
||||
"generate-jwt-keys: ## Generates JWT auth keys",
|
||||
"ifndef OPENSSL_BIN",
|
||||
"\t$(error \"Unable to generate keys (needs OpenSSL)\")",
|
||||
"endif",
|
||||
"\tmkdir -p config/jwt",
|
||||
"\topenssl genrsa -passout pass:${JWT_PASSPHRASE} -out ${JWT_PRIVATE_KEY_PATH} -aes256 4096",
|
||||
"\topenssl rsa -passin pass:${JWT_PASSPHRASE} -pubout -in ${JWT_PRIVATE_KEY_PATH} -out ${JWT_PUBLIC_KEY_PATH}",
|
||||
"\t@echo \"\\033[32mRSA key pair successfully generated\\033[39m\""
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"config/packages/lexik_jwt_authentication.yaml": {
|
||||
"contents": [
|
||||
"lexik_jwt_authentication:",
|
||||
" private_key_path: '%kernel.project_dir%/%env(JWT_PRIVATE_KEY_PATH)%'",
|
||||
" public_key_path: '%kernel.project_dir%/%env(JWT_PUBLIC_KEY_PATH)%'",
|
||||
" pass_phrase: '%env(JWT_PASSPHRASE)%'",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "4759de0590faa2ef3b8486c97855f1180623df3e"
|
||||
}
|
||||
}
|
||||
}
|
||||
+37
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"manifests": {
|
||||
"lexik/jwt-authentication-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"Lexik\\Bundle\\JWTAuthenticationBundle\\LexikJWTAuthenticationBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%"
|
||||
},
|
||||
"env": {
|
||||
"JWT_SECRET_KEY": "%kernel.project_dir%/%CONFIG_DIR%/jwt/private.pem",
|
||||
"JWT_PUBLIC_KEY": "%kernel.project_dir%/%CONFIG_DIR%/jwt/public.pem",
|
||||
"JWT_PASSPHRASE": "%generate(secret)%"
|
||||
},
|
||||
"gitignore": [
|
||||
"/%CONFIG_DIR%/jwt/*.pem"
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"config/packages/lexik_jwt_authentication.yaml": {
|
||||
"contents": [
|
||||
"lexik_jwt_authentication:",
|
||||
" secret_key: '%env(resolve:JWT_SECRET_KEY)%'",
|
||||
" public_key: '%env(resolve:JWT_PUBLIC_KEY)%'",
|
||||
" pass_phrase: '%env(JWT_PASSPHRASE)%'",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "509b1542f3180a1cfe248ade8b7bf5092c2d4127"
|
||||
}
|
||||
}
|
||||
}
|
||||
+37
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"manifests": {
|
||||
"lexik/jwt-authentication-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"Lexik\\Bundle\\JWTAuthenticationBundle\\LexikJWTAuthenticationBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%"
|
||||
},
|
||||
"env": {
|
||||
"JWT_SECRET_KEY": "%kernel.project_dir%/%CONFIG_DIR%/jwt/private.pem",
|
||||
"JWT_PUBLIC_KEY": "%kernel.project_dir%/%CONFIG_DIR%/jwt/public.pem",
|
||||
"JWT_PASSPHRASE": "%generate(secret)%"
|
||||
},
|
||||
"gitignore": [
|
||||
"/%CONFIG_DIR%/jwt/*.pem"
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"config/packages/lexik_jwt_authentication.yaml": {
|
||||
"contents": [
|
||||
"lexik_jwt_authentication:",
|
||||
" secret_key: '%env(resolve:JWT_SECRET_KEY)%'",
|
||||
" public_key: '%env(resolve:JWT_PUBLIC_KEY)%'",
|
||||
" pass_phrase: '%env(JWT_PASSPHRASE)%'",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "5b2157bcd5778166a5696e42f552ad36529a07a6"
|
||||
}
|
||||
}
|
||||
}
|
||||
+35
@@ -0,0 +1,35 @@
|
||||
{
|
||||
"manifests": {
|
||||
"lexik/jwt-authentication-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"Lexik\\Bundle\\JWTAuthenticationBundle\\LexikJWTAuthenticationBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%"
|
||||
},
|
||||
"env": {
|
||||
"#1": "Key paths should be relative to the project directory",
|
||||
"JWT_PRIVATE_KEY_PATH": "%CONFIG_DIR%/jwt/private.pem",
|
||||
"JWT_PUBLIC_KEY_PATH": "%CONFIG_DIR%/jwt/public.pem",
|
||||
"JWT_PASSPHRASE": "%generate(secret)%"
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"config/packages/lexik_jwt_authentication.yaml": {
|
||||
"contents": [
|
||||
"lexik_jwt_authentication:",
|
||||
" private_key_path: '%kernel.project_dir%/%env(JWT_PRIVATE_KEY_PATH)%'",
|
||||
" public_key_path: '%kernel.project_dir%/%env(JWT_PUBLIC_KEY_PATH)%'",
|
||||
" pass_phrase: '%env(JWT_PASSPHRASE)%'",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "751ee6748c1026fa4350c155d1b3a77b7ddca69c"
|
||||
}
|
||||
}
|
||||
}
|
||||
+38
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"manifests": {
|
||||
"lexik/jwt-authentication-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"Lexik\\Bundle\\JWTAuthenticationBundle\\LexikJWTAuthenticationBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%"
|
||||
},
|
||||
"env": {
|
||||
"#1": "Key paths should be relative to the project directory",
|
||||
"JWT_PRIVATE_KEY_PATH": "%CONFIG_DIR%/jwt/private.pem",
|
||||
"JWT_PUBLIC_KEY_PATH": "%CONFIG_DIR%/jwt/public.pem",
|
||||
"JWT_PASSPHRASE": "%generate(secret)%"
|
||||
},
|
||||
"gitignore": [
|
||||
"/%CONFIG_DIR%/jwt/*.pem"
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"config/packages/lexik_jwt_authentication.yaml": {
|
||||
"contents": [
|
||||
"lexik_jwt_authentication:",
|
||||
" private_key_path: '%kernel.project_dir%/%env(JWT_PRIVATE_KEY_PATH)%'",
|
||||
" public_key_path: '%kernel.project_dir%/%env(JWT_PUBLIC_KEY_PATH)%'",
|
||||
" pass_phrase: '%env(JWT_PASSPHRASE)%'",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "765b81fb4e6019bf5ef54d35cf50aacf01c79164"
|
||||
}
|
||||
}
|
||||
}
|
||||
+48
@@ -0,0 +1,48 @@
|
||||
{
|
||||
"manifests": {
|
||||
"lexik/jwt-authentication-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"Lexik\\Bundle\\JWTAuthenticationBundle\\LexikJWTAuthenticationBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"etc/": "%ETC_DIR%"
|
||||
},
|
||||
"env": {
|
||||
"JWT_PRIVATE_KEY_PATH": "%ETC_DIR%/jwt/private.pem",
|
||||
"JWT_PUBLIC_KEY_PATH": "%ETC_DIR%/jwt/public.pem",
|
||||
"JWT_PASSPHRASE": "%generate(secret)%"
|
||||
},
|
||||
"post-install-output": [
|
||||
"<bg=blue;fg=white> Next for LexikJWTAuthenticationBundle </>",
|
||||
" Run <comment>make generate-jwt-keys</> to generate a key pair."
|
||||
],
|
||||
"makefile": [
|
||||
"generate-jwt-keys:",
|
||||
"ifeq (, $(shell which openssl))",
|
||||
"$(error \"Unable to generate keys (needs OpenSSL)\")",
|
||||
"endif",
|
||||
"\tmkdir -p etc/jwt",
|
||||
"\topenssl genrsa -passout pass:${JWT_PASSPHRASE} -out ${JWT_PRIVATE_KEY_PATH} -aes256 4096",
|
||||
"\topenssl rsa -passin pass:${JWT_PASSPHRASE} -pubout -in ${JWT_PRIVATE_KEY_PATH} -out ${JWT_PUBLIC_KEY_PATH}",
|
||||
"\t@echo \"\\033[32mRSA key pair successfully generated\\033[39m\""
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"etc/packages/lexik_jwt_authentication.yaml": {
|
||||
"contents": [
|
||||
"lexik_jwt_authentication:",
|
||||
" private_key_path: \"%env(JWT_PRIVATE_KEY_PATH)%\"",
|
||||
" public_key_path: \"%env(JWT_PUBLIC_KEY_PATH)%\"",
|
||||
" pass_phrase: \"%env(JWT_PASSPHRASE)%\"",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "76daa85b5a5c640baef13028b0bf0bb07788fd34"
|
||||
}
|
||||
}
|
||||
}
|
||||
+38
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"manifests": {
|
||||
"lexik/jwt-authentication-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"Lexik\\Bundle\\JWTAuthenticationBundle\\LexikJWTAuthenticationBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%"
|
||||
},
|
||||
"env": {
|
||||
"#1": "Key paths should be relative to the project directory",
|
||||
"JWT_PRIVATE_KEY_PATH": "%CONFIG_DIR%/jwt/private.pem",
|
||||
"JWT_PUBLIC_KEY_PATH": "%CONFIG_DIR%/jwt/public.pem",
|
||||
"JWT_PASSPHRASE": "%generate(secret)%"
|
||||
},
|
||||
"gitignore": [
|
||||
"/%CONFIG_DIR%/jwt/*.pem"
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"config/packages/lexik_jwt_authentication.yaml": {
|
||||
"contents": [
|
||||
"lexik_jwt_authentication:",
|
||||
" private_key_path: '%kernel.project_dir%/%env(JWT_PRIVATE_KEY_PATH)%'",
|
||||
" public_key_path: '%kernel.project_dir%/%env(JWT_PUBLIC_KEY_PATH)%'",
|
||||
" pass_phrase: '%env(JWT_PASSPHRASE)%'",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "a66e8a7b75a1825cf2414d5dd53c7ed38c8654d1"
|
||||
}
|
||||
}
|
||||
}
|
||||
+49
@@ -0,0 +1,49 @@
|
||||
{
|
||||
"manifests": {
|
||||
"lexik/jwt-authentication-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"Lexik\\Bundle\\JWTAuthenticationBundle\\LexikJWTAuthenticationBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"etc/": "%ETC_DIR%"
|
||||
},
|
||||
"env": {
|
||||
"#1": "Key paths should be relative to the project directory",
|
||||
"JWT_PRIVATE_KEY_PATH": "%ETC_DIR%/jwt/private.pem",
|
||||
"JWT_PUBLIC_KEY_PATH": "%ETC_DIR%/jwt/public.pem",
|
||||
"JWT_PASSPHRASE": "%generate(secret)%"
|
||||
},
|
||||
"post-install-output": [
|
||||
"<bg=blue;fg=white> Next for LexikJWTAuthenticationBundle </>",
|
||||
" Run <comment>make generate-jwt-keys</> to generate a key pair."
|
||||
],
|
||||
"makefile": [
|
||||
"generate-jwt-keys:",
|
||||
"ifeq (, $(shell which openssl))",
|
||||
"$(error \"Unable to generate keys (needs OpenSSL)\")",
|
||||
"endif",
|
||||
"\tmkdir -p etc/jwt",
|
||||
"\topenssl genrsa -passout pass:${JWT_PASSPHRASE} -out ${JWT_PRIVATE_KEY_PATH} -aes256 4096",
|
||||
"\topenssl rsa -passin pass:${JWT_PASSPHRASE} -pubout -in ${JWT_PRIVATE_KEY_PATH} -out ${JWT_PUBLIC_KEY_PATH}",
|
||||
"\t@echo \"\\033[32mRSA key pair successfully generated\\033[39m\""
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"etc/packages/lexik_jwt_authentication.yaml": {
|
||||
"contents": [
|
||||
"lexik_jwt_authentication:",
|
||||
" private_key_path: '%kernel.project_dir%/%env(JWT_PRIVATE_KEY_PATH)%'",
|
||||
" public_key_path: '%kernel.project_dir%/%env(JWT_PUBLIC_KEY_PATH)%'",
|
||||
" pass_phrase: '%env(JWT_PASSPHRASE)%'",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "c34fdac0c3cb15061421e0c115fcb08fe3dfcc1c"
|
||||
}
|
||||
}
|
||||
}
|
||||
+48
@@ -0,0 +1,48 @@
|
||||
{
|
||||
"manifests": {
|
||||
"lexik/jwt-authentication-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"Lexik\\Bundle\\JWTAuthenticationBundle\\LexikJWTAuthenticationBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"etc/": "%ETC_DIR%"
|
||||
},
|
||||
"env": {
|
||||
"JWT_PRIVATE_KEY_PATH": "%ETC_DIR%/jwt/private.pem",
|
||||
"JWT_PUBLIC_KEY_PATH": "%ETC_DIR%/jwt/public.pem",
|
||||
"JWT_PASSPHRASE": "%generate(secret)%"
|
||||
},
|
||||
"post-install-output": [
|
||||
"<bg=blue;fg=white> Next for LexikJWTAuthenticationBundle </>",
|
||||
" Run <comment>make generate-jwt-keys</> to generate a key pair."
|
||||
],
|
||||
"makefile": [
|
||||
"generate-jwt-keys:",
|
||||
"ifeq (, $(shell which openssl))",
|
||||
"$(error \"Unable to generate keys (needs OpenSSL)\")",
|
||||
"endif",
|
||||
"\tmkdir -p etc/jwt",
|
||||
"\topenssl genrsa -passout pass:${JWT_PASSPHRASE} -out ${JWT_PRIVATE_KEY_PATH} -aes256 4096",
|
||||
"\topenssl rsa -passin pass:${JWT_PASSPHRASE} -pubout -in ${JWT_PRIVATE_KEY_PATH} -out ${JWT_PUBLIC_KEY_PATH}",
|
||||
"\t@echo \"\\033[32mRSA key pair successfully generated\\033[39m\""
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"etc/packages/lexik_jwt_authentication.yaml": {
|
||||
"contents": [
|
||||
"lexik_jwt_authentication:",
|
||||
" private_key_path: '%env(JWT_PRIVATE_KEY_PATH)%'",
|
||||
" public_key_path: '%env(JWT_PUBLIC_KEY_PATH)%'",
|
||||
" pass_phrase: '%env(JWT_PASSPHRASE)%'",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "e5aea526499f8aef6983d0f57628b2d7e9ed36a5"
|
||||
}
|
||||
}
|
||||
}
|
||||
+50
@@ -0,0 +1,50 @@
|
||||
{
|
||||
"manifests": {
|
||||
"lexik/jwt-authentication-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"Lexik\\Bundle\\JWTAuthenticationBundle\\LexikJWTAuthenticationBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"etc/": "%ETC_DIR%"
|
||||
},
|
||||
"env": {
|
||||
"#1": "Key paths should be relative to the project directory",
|
||||
"JWT_PRIVATE_KEY_PATH": "%ETC_DIR%/jwt/private.pem",
|
||||
"JWT_PUBLIC_KEY_PATH": "%ETC_DIR%/jwt/public.pem",
|
||||
"JWT_PASSPHRASE": "%generate(secret)%"
|
||||
},
|
||||
"post-install-output": [
|
||||
"<bg=blue;fg=white> Next for LexikJWTAuthenticationBundle </>",
|
||||
" Run <comment>make generate-jwt-keys</> to generate a key pair."
|
||||
],
|
||||
"makefile": [
|
||||
"OPENSSL_BIN := $(shell which openssl)",
|
||||
"generate-jwt-keys:",
|
||||
"ifndef OPENSSL_BIN",
|
||||
"\t$(error \"Unable to generate keys (needs OpenSSL)\")",
|
||||
"endif",
|
||||
"\tmkdir -p etc/jwt",
|
||||
"\topenssl genrsa -passout pass:${JWT_PASSPHRASE} -out ${JWT_PRIVATE_KEY_PATH} -aes256 4096",
|
||||
"\topenssl rsa -passin pass:${JWT_PASSPHRASE} -pubout -in ${JWT_PRIVATE_KEY_PATH} -out ${JWT_PUBLIC_KEY_PATH}",
|
||||
"\t@echo \"\\033[32mRSA key pair successfully generated\\033[39m\""
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"etc/packages/lexik_jwt_authentication.yaml": {
|
||||
"contents": [
|
||||
"lexik_jwt_authentication:",
|
||||
" private_key_path: '%kernel.project_dir%/%env(JWT_PRIVATE_KEY_PATH)%'",
|
||||
" public_key_path: '%kernel.project_dir%/%env(JWT_PUBLIC_KEY_PATH)%'",
|
||||
" pass_phrase: '%env(JWT_PASSPHRASE)%'",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "e7a5947a31101929e84ffb2825af42f3a674bdb7"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user