From 0df49152268f865672a4c759350e88b1a9c55be8 Mon Sep 17 00:00:00 2001 From: Jonathan Vuillemin Date: Tue, 12 May 2020 13:05:07 +0200 Subject: [PATCH 01/10] Added oat-sa/bundle-lti1p3 flex recipe for 1.0 --- .../1.0/config/packages/lti1p3.yaml | 36 +++++++++++++++++++ .../1.0/config/routes/lti1p3.yaml | 11 ++++++ .../1.0/config/secrets/dev/private.key | 27 ++++++++++++++ .../1.0/config/secrets/dev/public.key | 9 +++++ oat-sa/bundle-lti1p3/1.0/manifest.json | 14 ++++++++ oat-sa/bundle-lti1p3/1.0/post-install.txt | 11 ++++++ 6 files changed, 108 insertions(+) create mode 100644 oat-sa/bundle-lti1p3/1.0/config/packages/lti1p3.yaml create mode 100644 oat-sa/bundle-lti1p3/1.0/config/routes/lti1p3.yaml create mode 100644 oat-sa/bundle-lti1p3/1.0/config/secrets/dev/private.key create mode 100644 oat-sa/bundle-lti1p3/1.0/config/secrets/dev/public.key create mode 100644 oat-sa/bundle-lti1p3/1.0/manifest.json create mode 100644 oat-sa/bundle-lti1p3/1.0/post-install.txt diff --git a/oat-sa/bundle-lti1p3/1.0/config/packages/lti1p3.yaml b/oat-sa/bundle-lti1p3/1.0/config/packages/lti1p3.yaml new file mode 100644 index 00000000..ed25b59a --- /dev/null +++ b/oat-sa/bundle-lti1p3/1.0/config/packages/lti1p3.yaml @@ -0,0 +1,36 @@ +lti1p3: + key_chains: + platformKey: + key_set_name: "platformSet" + public_key: "file://%kernel.project_dir%/config/secrets/dev/public.key" + private_key: "file://%kernel.project_dir%/config/secrets/dev/private.key" + private_key_passphrase: ~ + toolKey: + key_set_name: "toolSet" + public_key: "file://%kernel.project_dir%/config/secrets/dev/public.key" + private_key: "file://%kernel.project_dir%/config/secrets/dev/private.key" + private_key_passphrase: ~ + platforms: + localPlatform: + name: "Local platform" + audience: "http://localhost/platform" + oidc_authentication_url: "http://localhost/lti1p3/oidc/login-authentication" + oauth2_access_token_url: "http://localhost/lti1p3/auth/platformKey/token" + tools: + localTool: + name: "Local tool" + audience: "http://localhost/tool" + oidc_login_initiation_url: "http://localhost/lti1p3/oidc/login-initiation" + launch_url: ~ + deep_link_launch_url: ~ + registrations: + local: + client_id: "client_id" + platform: "localPlatform" + tool: "localTool" + deployment_ids: + - "deploymentId1" + platform_key_chain: "platformKey" + tool_key_chain: "toolKey" + platform_jwks_url: ~ + tool_jwks_url: ~ diff --git a/oat-sa/bundle-lti1p3/1.0/config/routes/lti1p3.yaml b/oat-sa/bundle-lti1p3/1.0/config/routes/lti1p3.yaml new file mode 100644 index 00000000..42f24119 --- /dev/null +++ b/oat-sa/bundle-lti1p3/1.0/config/routes/lti1p3.yaml @@ -0,0 +1,11 @@ +lti1p3_jwks: + resource: '@Lti1p3Bundle/Resources/config/routing/jwks.yaml' + +lti1p3_message_platform: + resource: '@Lti1p3Bundle/Resources/config/routing/message/platform.yaml' + +lti1p3_message_tool: + resource: '@Lti1p3Bundle/Resources/config/routing/message/tool.yaml' + +lti1p3_service_platform: + resource: '@Lti1p3Bundle/Resources/config/routing/service/platform.yaml' \ No newline at end of file diff --git a/oat-sa/bundle-lti1p3/1.0/config/secrets/dev/private.key b/oat-sa/bundle-lti1p3/1.0/config/secrets/dev/private.key new file mode 100644 index 00000000..c95b2420 --- /dev/null +++ b/oat-sa/bundle-lti1p3/1.0/config/secrets/dev/private.key @@ -0,0 +1,27 @@ +-----BEGIN RSA PRIVATE KEY----- +MIIEowIBAAKCAQEAyZXlfd5yqChtTH91N76VokquRu2r1EwNDUjA0GAygrPzCpPb +Yokasxzs+60Do/lyTIgd7nRzudAzHnujIPr8GOPIlPlOKT8HuL7xQEN6gmUtz33i +DhK97zK7zOFEmvS8kYPwFAjQ03YKv+3T9b/DbrBZWy2Vx4Wuxf6mZBggKQfwHUuJ +xXDv79NenZarUtC5iFEhJ85ovwjW7yMkcflhUgkf1o/GIR5RKoNPttMXhKYZ4hTl +LglMm1FgRR63pvYoy9Eq644a9x2mbGelO3HnGbkaFo0HxiKbFW1vplHzixYCyjc1 +5pvtBxw/x26p8+lNthuxzaX5HaFMPGs10rRPLwIDAQABAoIBAEFrF7KlQeg4VmAA +7PVOMBkeyzfRYXXfyEyLU6dL0JiB9Vl1ajir7bI6rN1v5EKObP1RHwWHXRbr7ery +jJnjWXRqV2mhDjBseAEIVhpYy6UNWLSBUZ7njiPV/wQaBr2Stq8ydfLKeZpmME7g +y2xw8uc064qfXIAHbhRq82yAN8+YY7CUKBvJquiiRVDffvbYWhrS4fIIsBNywoBZ +PGoKUhE9RlR5nRyWvQmeKsBmM9bbzEIW4A5GHO5+6Fb2g1cbLx1poCZRta2oE/JJ +qusChTZMXdGmEapT8w+sLqyZYtyPn+W8MuX5N9oZppYWIzUDlxHn6yqQPOj98aKu +rsIu+aECgYEA+x047lp1C3R5dByfk9JwxTayTgfyrnCElV60+KVYxwJkZniMkBk7 +ncy0WtcOBQiwNYLCHMpx9IZkSlWbW0C3e2CgGmLahpi8yhBOzPiUinLY/V5xzbxK +ojTkf3pYZo1viJG9MTUI1xEr9anZHM9GmqVnk8gJdi2a64wXGyvXxiUCgYEAzYH5 +8oRuvWgT+4KXql8EUX57YQEDIpeqp4DJHMk5X5OWYZ8by5kyRNDLSvqf5kWnkRpK +VMXuKdpVJXb3OWBvzymzxB/pBfTFFaBybsMQZUKpXfucRSfeQ0T6x1VVLozb6mNH +T7q4nms1LiUidp7M09XtfwJYMlLu/prZ1yN+jcMCgYEA78e4nAiuKNEARDosumdA +nWAcJFx8g8sXHtY/MgoY2nbTTfGgLtyZS5WzReaCEZZ5Q69nETzSUW6eh0h1P05t +pZbfajKofcuMwdmOlTRsCkOeJVmwi4ZXMcoVwhAeJ1a4gIzBPiJpHYvdEQgtM9BM +l9CHNdrWBg2IF5E+YwibUi0CgYBMKtpa2l648LRHSbWwvZq6IajU4S0qSxBDGOZx +Ntt+4xKfh/sjUNpiywgt+An/rN1YWGgoV1vYQ0W/pwImT+ng3FH2ZOVXActyIo+H +IeEXxsdDQBhBQW+Neyl/a88we6CelME/ebMndBC306ecU2sTMHzf0BykOjy+POJ0 +bIFhRQKBgBjfK/s6mbif311d4kEzT0aGIPK0STfD5FKDCazdZ3F+/aS8iorEVGou +T7EwvdJvb13N9CpQGvN1nbSUc+rI3MY/Fa0m4FxE1A0FnS3AAVISgY3M4k2pjbIa +3LfQHtOPDKX0gaYFqf99w1Xwtib4E5PFaRcdUuuc1o8Xv315uh8p +-----END RSA PRIVATE KEY----- \ No newline at end of file diff --git a/oat-sa/bundle-lti1p3/1.0/config/secrets/dev/public.key b/oat-sa/bundle-lti1p3/1.0/config/secrets/dev/public.key new file mode 100644 index 00000000..003014c3 --- /dev/null +++ b/oat-sa/bundle-lti1p3/1.0/config/secrets/dev/public.key @@ -0,0 +1,9 @@ +-----BEGIN PUBLIC KEY----- +MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAyZXlfd5yqChtTH91N76V +okquRu2r1EwNDUjA0GAygrPzCpPbYokasxzs+60Do/lyTIgd7nRzudAzHnujIPr8 +GOPIlPlOKT8HuL7xQEN6gmUtz33iDhK97zK7zOFEmvS8kYPwFAjQ03YKv+3T9b/D +brBZWy2Vx4Wuxf6mZBggKQfwHUuJxXDv79NenZarUtC5iFEhJ85ovwjW7yMkcflh +Ugkf1o/GIR5RKoNPttMXhKYZ4hTlLglMm1FgRR63pvYoy9Eq644a9x2mbGelO3Hn +GbkaFo0HxiKbFW1vplHzixYCyjc15pvtBxw/x26p8+lNthuxzaX5HaFMPGs10rRP +LwIDAQAB +-----END PUBLIC KEY----- \ No newline at end of file diff --git a/oat-sa/bundle-lti1p3/1.0/manifest.json b/oat-sa/bundle-lti1p3/1.0/manifest.json new file mode 100644 index 00000000..22dba465 --- /dev/null +++ b/oat-sa/bundle-lti1p3/1.0/manifest.json @@ -0,0 +1,14 @@ +{ + "aliases": [ + "lti1p3" + ], + "bundles": { + "OAT\\Bundle\\Lti1p3Bundle\\Lti1p3Bundle": [ "all" ] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "env": { + "LTI1P3_SERVICE_ENCRYPTION_KEY": "%generate(secret)%" + } +} \ No newline at end of file diff --git a/oat-sa/bundle-lti1p3/1.0/post-install.txt b/oat-sa/bundle-lti1p3/1.0/post-install.txt new file mode 100644 index 00000000..cfb6fd5d --- /dev/null +++ b/oat-sa/bundle-lti1p3/1.0/post-install.txt @@ -0,0 +1,11 @@ + + Next: LTI 1.3 bundle configuration + + + * Configure your keys, platform, tools and registrations in config/packages/lti1p3.yaml + + * Configure the platform and tools automated routes in config/routes/lti1p3.yaml + + * Read the documentation at https://github.com/oat-sa/bundle-lti1p3 + + * IMPORTANT The keys generated in the config/secrets/dev/ folder are default development keys, DO NOT use them in production. \ No newline at end of file From 7f798a4dee15851da758211739c92c5d0d4836d6 Mon Sep 17 00:00:00 2001 From: Jonathan Vuillemin Date: Tue, 12 May 2020 13:10:24 +0200 Subject: [PATCH 02/10] Fixes --- .../bundle-lti1p3/1.0/config/packages/lti1p3.yaml | 13 +++++++------ oat-sa/bundle-lti1p3/1.0/config/routes/lti1p3.yaml | 2 +- oat-sa/bundle-lti1p3/1.0/manifest.json | 5 +---- oat-sa/bundle-lti1p3/1.0/post-install.txt | 2 +- 4 files changed, 10 insertions(+), 12 deletions(-) diff --git a/oat-sa/bundle-lti1p3/1.0/config/packages/lti1p3.yaml b/oat-sa/bundle-lti1p3/1.0/config/packages/lti1p3.yaml index ed25b59a..7d40ba9b 100644 --- a/oat-sa/bundle-lti1p3/1.0/config/packages/lti1p3.yaml +++ b/oat-sa/bundle-lti1p3/1.0/config/packages/lti1p3.yaml @@ -4,12 +4,12 @@ lti1p3: key_set_name: "platformSet" public_key: "file://%kernel.project_dir%/config/secrets/dev/public.key" private_key: "file://%kernel.project_dir%/config/secrets/dev/private.key" - private_key_passphrase: ~ + private_key_passphrase: null toolKey: key_set_name: "toolSet" public_key: "file://%kernel.project_dir%/config/secrets/dev/public.key" private_key: "file://%kernel.project_dir%/config/secrets/dev/private.key" - private_key_passphrase: ~ + private_key_passphrase: null platforms: localPlatform: name: "Local platform" @@ -21,8 +21,8 @@ lti1p3: name: "Local tool" audience: "http://localhost/tool" oidc_login_initiation_url: "http://localhost/lti1p3/oidc/login-initiation" - launch_url: ~ - deep_link_launch_url: ~ + launch_url: "http://localhost/lti1p3/tool/launch" + deep_link_launch_url: null registrations: local: client_id: "client_id" @@ -32,5 +32,6 @@ lti1p3: - "deploymentId1" platform_key_chain: "platformKey" tool_key_chain: "toolKey" - platform_jwks_url: ~ - tool_jwks_url: ~ + platform_jwks_url: null + tool_jwks_url: null + diff --git a/oat-sa/bundle-lti1p3/1.0/config/routes/lti1p3.yaml b/oat-sa/bundle-lti1p3/1.0/config/routes/lti1p3.yaml index 42f24119..c893970a 100644 --- a/oat-sa/bundle-lti1p3/1.0/config/routes/lti1p3.yaml +++ b/oat-sa/bundle-lti1p3/1.0/config/routes/lti1p3.yaml @@ -8,4 +8,4 @@ lti1p3_message_tool: resource: '@Lti1p3Bundle/Resources/config/routing/message/tool.yaml' lti1p3_service_platform: - resource: '@Lti1p3Bundle/Resources/config/routing/service/platform.yaml' \ No newline at end of file + resource: '@Lti1p3Bundle/Resources/config/routing/service/platform.yaml' diff --git a/oat-sa/bundle-lti1p3/1.0/manifest.json b/oat-sa/bundle-lti1p3/1.0/manifest.json index 22dba465..adfed5a2 100644 --- a/oat-sa/bundle-lti1p3/1.0/manifest.json +++ b/oat-sa/bundle-lti1p3/1.0/manifest.json @@ -1,7 +1,4 @@ { - "aliases": [ - "lti1p3" - ], "bundles": { "OAT\\Bundle\\Lti1p3Bundle\\Lti1p3Bundle": [ "all" ] }, @@ -11,4 +8,4 @@ "env": { "LTI1P3_SERVICE_ENCRYPTION_KEY": "%generate(secret)%" } -} \ No newline at end of file +} diff --git a/oat-sa/bundle-lti1p3/1.0/post-install.txt b/oat-sa/bundle-lti1p3/1.0/post-install.txt index cfb6fd5d..3f3f9f12 100644 --- a/oat-sa/bundle-lti1p3/1.0/post-install.txt +++ b/oat-sa/bundle-lti1p3/1.0/post-install.txt @@ -8,4 +8,4 @@ * Read the documentation at https://github.com/oat-sa/bundle-lti1p3 - * IMPORTANT The keys generated in the config/secrets/dev/ folder are default development keys, DO NOT use them in production. \ No newline at end of file + * IMPORTANT The keys generated in the config/secrets/dev/ folder are default development keys, DO NOT use them in production. From f05b27834f986e5c6a718f02d7531eb7a92206a0 Mon Sep 17 00:00:00 2001 From: Jonathan Vuillemin Date: Mon, 18 May 2020 10:51:49 +0200 Subject: [PATCH 03/10] Fixes --- oat-sa/bundle-lti1p3/1.0/post-install.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oat-sa/bundle-lti1p3/1.0/post-install.txt b/oat-sa/bundle-lti1p3/1.0/post-install.txt index 3f3f9f12..d3e74ba0 100644 --- a/oat-sa/bundle-lti1p3/1.0/post-install.txt +++ b/oat-sa/bundle-lti1p3/1.0/post-install.txt @@ -8,4 +8,4 @@ * Read the documentation at https://github.com/oat-sa/bundle-lti1p3 - * IMPORTANT The keys generated in the config/secrets/dev/ folder are default development keys, DO NOT use them in production. + * IMPORTANT The keys generated in the config/secrets/dev/ folder are default development keys, DO NOT USE THEM IN PRODUCTION. From 8870854eac56c8e83982d5a57dedd2f79957e564 Mon Sep 17 00:00:00 2001 From: Jonathan Vuillemin Date: Mon, 18 May 2020 10:54:32 +0200 Subject: [PATCH 04/10] Fixes --- oat-sa/bundle-lti1p3/{1.0 => 1.1}/config/packages/lti1p3.yaml | 0 oat-sa/bundle-lti1p3/{1.0 => 1.1}/config/routes/lti1p3.yaml | 0 oat-sa/bundle-lti1p3/{1.0 => 1.1}/config/secrets/dev/private.key | 0 oat-sa/bundle-lti1p3/{1.0 => 1.1}/config/secrets/dev/public.key | 0 oat-sa/bundle-lti1p3/{1.0 => 1.1}/manifest.json | 0 oat-sa/bundle-lti1p3/{1.0 => 1.1}/post-install.txt | 0 6 files changed, 0 insertions(+), 0 deletions(-) rename oat-sa/bundle-lti1p3/{1.0 => 1.1}/config/packages/lti1p3.yaml (100%) rename oat-sa/bundle-lti1p3/{1.0 => 1.1}/config/routes/lti1p3.yaml (100%) rename oat-sa/bundle-lti1p3/{1.0 => 1.1}/config/secrets/dev/private.key (100%) rename oat-sa/bundle-lti1p3/{1.0 => 1.1}/config/secrets/dev/public.key (100%) rename oat-sa/bundle-lti1p3/{1.0 => 1.1}/manifest.json (100%) rename oat-sa/bundle-lti1p3/{1.0 => 1.1}/post-install.txt (100%) diff --git a/oat-sa/bundle-lti1p3/1.0/config/packages/lti1p3.yaml b/oat-sa/bundle-lti1p3/1.1/config/packages/lti1p3.yaml similarity index 100% rename from oat-sa/bundle-lti1p3/1.0/config/packages/lti1p3.yaml rename to oat-sa/bundle-lti1p3/1.1/config/packages/lti1p3.yaml diff --git a/oat-sa/bundle-lti1p3/1.0/config/routes/lti1p3.yaml b/oat-sa/bundle-lti1p3/1.1/config/routes/lti1p3.yaml similarity index 100% rename from oat-sa/bundle-lti1p3/1.0/config/routes/lti1p3.yaml rename to oat-sa/bundle-lti1p3/1.1/config/routes/lti1p3.yaml diff --git a/oat-sa/bundle-lti1p3/1.0/config/secrets/dev/private.key b/oat-sa/bundle-lti1p3/1.1/config/secrets/dev/private.key similarity index 100% rename from oat-sa/bundle-lti1p3/1.0/config/secrets/dev/private.key rename to oat-sa/bundle-lti1p3/1.1/config/secrets/dev/private.key diff --git a/oat-sa/bundle-lti1p3/1.0/config/secrets/dev/public.key b/oat-sa/bundle-lti1p3/1.1/config/secrets/dev/public.key similarity index 100% rename from oat-sa/bundle-lti1p3/1.0/config/secrets/dev/public.key rename to oat-sa/bundle-lti1p3/1.1/config/secrets/dev/public.key diff --git a/oat-sa/bundle-lti1p3/1.0/manifest.json b/oat-sa/bundle-lti1p3/1.1/manifest.json similarity index 100% rename from oat-sa/bundle-lti1p3/1.0/manifest.json rename to oat-sa/bundle-lti1p3/1.1/manifest.json diff --git a/oat-sa/bundle-lti1p3/1.0/post-install.txt b/oat-sa/bundle-lti1p3/1.1/post-install.txt similarity index 100% rename from oat-sa/bundle-lti1p3/1.0/post-install.txt rename to oat-sa/bundle-lti1p3/1.1/post-install.txt From acdb244ed7ee91913d469367642f68c2a1d58e34 Mon Sep 17 00:00:00 2001 From: Jonathan Vuillemin Date: Mon, 18 May 2020 10:58:38 +0200 Subject: [PATCH 05/10] Fixes --- oat-sa/bundle-lti1p3/1.1/post-install.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/oat-sa/bundle-lti1p3/1.1/post-install.txt b/oat-sa/bundle-lti1p3/1.1/post-install.txt index d3e74ba0..1b5ed35f 100644 --- a/oat-sa/bundle-lti1p3/1.1/post-install.txt +++ b/oat-sa/bundle-lti1p3/1.1/post-install.txt @@ -2,10 +2,10 @@ Next: LTI 1.3 bundle configuration - * Configure your keys, platform, tools and registrations in config/packages/lti1p3.yaml + * Configure your keys, platform, tools and registrations in file config/packages/lti1p3.yaml - * Configure the platform and tools automated routes in config/routes/lti1p3.yaml + * Configure the platform and tools automated routes in file config/routes/lti1p3.yaml * Read the documentation at https://github.com/oat-sa/bundle-lti1p3 - * IMPORTANT The keys generated in the config/secrets/dev/ folder are default development keys, DO NOT USE THEM IN PRODUCTION. + * IMPORTANT The keys generated in config/secrets/dev/ folder are default development keys, DO NOT USE THEM IN PRODUCTION. From af73e5b7e2aaa121e2316698e0db9f389e6da2ea Mon Sep 17 00:00:00 2001 From: Jonathan Vuillemin Date: Mon, 18 May 2020 11:25:06 +0200 Subject: [PATCH 06/10] Fixes --- oat-sa/bundle-lti1p3/{1.1 => 2.0}/config/packages/lti1p3.yaml | 0 oat-sa/bundle-lti1p3/{1.1 => 2.0}/config/routes/lti1p3.yaml | 0 oat-sa/bundle-lti1p3/{1.1 => 2.0}/config/secrets/dev/private.key | 0 oat-sa/bundle-lti1p3/{1.1 => 2.0}/config/secrets/dev/public.key | 0 oat-sa/bundle-lti1p3/{1.1 => 2.0}/manifest.json | 0 oat-sa/bundle-lti1p3/{1.1 => 2.0}/post-install.txt | 0 6 files changed, 0 insertions(+), 0 deletions(-) rename oat-sa/bundle-lti1p3/{1.1 => 2.0}/config/packages/lti1p3.yaml (100%) rename oat-sa/bundle-lti1p3/{1.1 => 2.0}/config/routes/lti1p3.yaml (100%) rename oat-sa/bundle-lti1p3/{1.1 => 2.0}/config/secrets/dev/private.key (100%) rename oat-sa/bundle-lti1p3/{1.1 => 2.0}/config/secrets/dev/public.key (100%) rename oat-sa/bundle-lti1p3/{1.1 => 2.0}/manifest.json (100%) rename oat-sa/bundle-lti1p3/{1.1 => 2.0}/post-install.txt (100%) diff --git a/oat-sa/bundle-lti1p3/1.1/config/packages/lti1p3.yaml b/oat-sa/bundle-lti1p3/2.0/config/packages/lti1p3.yaml similarity index 100% rename from oat-sa/bundle-lti1p3/1.1/config/packages/lti1p3.yaml rename to oat-sa/bundle-lti1p3/2.0/config/packages/lti1p3.yaml diff --git a/oat-sa/bundle-lti1p3/1.1/config/routes/lti1p3.yaml b/oat-sa/bundle-lti1p3/2.0/config/routes/lti1p3.yaml similarity index 100% rename from oat-sa/bundle-lti1p3/1.1/config/routes/lti1p3.yaml rename to oat-sa/bundle-lti1p3/2.0/config/routes/lti1p3.yaml diff --git a/oat-sa/bundle-lti1p3/1.1/config/secrets/dev/private.key b/oat-sa/bundle-lti1p3/2.0/config/secrets/dev/private.key similarity index 100% rename from oat-sa/bundle-lti1p3/1.1/config/secrets/dev/private.key rename to oat-sa/bundle-lti1p3/2.0/config/secrets/dev/private.key diff --git a/oat-sa/bundle-lti1p3/1.1/config/secrets/dev/public.key b/oat-sa/bundle-lti1p3/2.0/config/secrets/dev/public.key similarity index 100% rename from oat-sa/bundle-lti1p3/1.1/config/secrets/dev/public.key rename to oat-sa/bundle-lti1p3/2.0/config/secrets/dev/public.key diff --git a/oat-sa/bundle-lti1p3/1.1/manifest.json b/oat-sa/bundle-lti1p3/2.0/manifest.json similarity index 100% rename from oat-sa/bundle-lti1p3/1.1/manifest.json rename to oat-sa/bundle-lti1p3/2.0/manifest.json diff --git a/oat-sa/bundle-lti1p3/1.1/post-install.txt b/oat-sa/bundle-lti1p3/2.0/post-install.txt similarity index 100% rename from oat-sa/bundle-lti1p3/1.1/post-install.txt rename to oat-sa/bundle-lti1p3/2.0/post-install.txt From 59b65709c4b37ae5418c7107e214e1ac08eaed6e Mon Sep 17 00:00:00 2001 From: Jonathan Vuillemin Date: Mon, 18 May 2020 11:28:26 +0200 Subject: [PATCH 07/10] Fixes --- oat-sa/bundle-lti1p3/2.0/post-install.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oat-sa/bundle-lti1p3/2.0/post-install.txt b/oat-sa/bundle-lti1p3/2.0/post-install.txt index 1b5ed35f..8079f125 100644 --- a/oat-sa/bundle-lti1p3/2.0/post-install.txt +++ b/oat-sa/bundle-lti1p3/2.0/post-install.txt @@ -8,4 +8,4 @@ * Read the documentation at https://github.com/oat-sa/bundle-lti1p3 - * IMPORTANT The keys generated in config/secrets/dev/ folder are default development keys, DO NOT USE THEM IN PRODUCTION. + * !! IMPORTANT !! The keys generated in config/secrets/dev/ folder are default development keys, DO NOT USE THEM IN PRODUCTION!. From c5df55afcd6840c28b42ad4702f17c1238768a5a Mon Sep 17 00:00:00 2001 From: Jonathan Vuillemin Date: Mon, 18 May 2020 11:45:33 +0200 Subject: [PATCH 08/10] Fixes --- oat-sa/bundle-lti1p3/2.0/post-install.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oat-sa/bundle-lti1p3/2.0/post-install.txt b/oat-sa/bundle-lti1p3/2.0/post-install.txt index 8079f125..6ee3a298 100644 --- a/oat-sa/bundle-lti1p3/2.0/post-install.txt +++ b/oat-sa/bundle-lti1p3/2.0/post-install.txt @@ -8,4 +8,4 @@ * Read the documentation at https://github.com/oat-sa/bundle-lti1p3 - * !! IMPORTANT !! The keys generated in config/secrets/dev/ folder are default development keys, DO NOT USE THEM IN PRODUCTION!. + * !! IMPORTANT !! The keys generated in config/secrets/dev/ folder are default development keys, DO NOT USE THEM IN PRODUCTION. From 9b26a686afff5ee8e996bb6539e4c2f7f0df8749 Mon Sep 17 00:00:00 2001 From: Jonathan Vuillemin Date: Mon, 18 May 2020 14:42:43 +0200 Subject: [PATCH 09/10] CR fixes --- oat-sa/bundle-lti1p3/2.0/post-install.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/oat-sa/bundle-lti1p3/2.0/post-install.txt b/oat-sa/bundle-lti1p3/2.0/post-install.txt index 6ee3a298..c0990143 100644 --- a/oat-sa/bundle-lti1p3/2.0/post-install.txt +++ b/oat-sa/bundle-lti1p3/2.0/post-install.txt @@ -2,10 +2,10 @@ Next: LTI 1.3 bundle configuration - * Configure your keys, platform, tools and registrations in file config/packages/lti1p3.yaml + * Create development keys: mkdir -p config/secrets/dev && openssl genrsa -out config/secrets/dev/private.key 2048 && openssl rsa -in config/secrets/dev/private.key -outform PEM -pubout -out config/secrets/dev/public.key - * Configure the platform and tools automated routes in file config/routes/lti1p3.yaml + * Configure your keys, platform, tools and registrations in file config/packages/lti1p3.yaml - * Read the documentation at https://github.com/oat-sa/bundle-lti1p3 + * Configure the platform and tools automated routes in file config/routes/lti1p3.yaml - * !! IMPORTANT !! The keys generated in config/secrets/dev/ folder are default development keys, DO NOT USE THEM IN PRODUCTION. + * Read the documentation at https://github.com/oat-sa/bundle-lti1p3 From 963aa8448394eb8bc0e9ab426cfc9a7c75c1ddae Mon Sep 17 00:00:00 2001 From: Jonathan Vuillemin Date: Mon, 18 May 2020 14:45:09 +0200 Subject: [PATCH 10/10] CR fixes --- .../2.0/config/secrets/dev/private.key | 27 ------------------- .../2.0/config/secrets/dev/public.key | 9 ------- oat-sa/bundle-lti1p3/2.0/post-install.txt | 2 +- 3 files changed, 1 insertion(+), 37 deletions(-) delete mode 100644 oat-sa/bundle-lti1p3/2.0/config/secrets/dev/private.key delete mode 100644 oat-sa/bundle-lti1p3/2.0/config/secrets/dev/public.key diff --git a/oat-sa/bundle-lti1p3/2.0/config/secrets/dev/private.key b/oat-sa/bundle-lti1p3/2.0/config/secrets/dev/private.key deleted file mode 100644 index c95b2420..00000000 --- a/oat-sa/bundle-lti1p3/2.0/config/secrets/dev/private.key +++ /dev/null @@ -1,27 +0,0 @@ ------BEGIN RSA PRIVATE KEY----- -MIIEowIBAAKCAQEAyZXlfd5yqChtTH91N76VokquRu2r1EwNDUjA0GAygrPzCpPb -Yokasxzs+60Do/lyTIgd7nRzudAzHnujIPr8GOPIlPlOKT8HuL7xQEN6gmUtz33i -DhK97zK7zOFEmvS8kYPwFAjQ03YKv+3T9b/DbrBZWy2Vx4Wuxf6mZBggKQfwHUuJ -xXDv79NenZarUtC5iFEhJ85ovwjW7yMkcflhUgkf1o/GIR5RKoNPttMXhKYZ4hTl -LglMm1FgRR63pvYoy9Eq644a9x2mbGelO3HnGbkaFo0HxiKbFW1vplHzixYCyjc1 -5pvtBxw/x26p8+lNthuxzaX5HaFMPGs10rRPLwIDAQABAoIBAEFrF7KlQeg4VmAA -7PVOMBkeyzfRYXXfyEyLU6dL0JiB9Vl1ajir7bI6rN1v5EKObP1RHwWHXRbr7ery -jJnjWXRqV2mhDjBseAEIVhpYy6UNWLSBUZ7njiPV/wQaBr2Stq8ydfLKeZpmME7g -y2xw8uc064qfXIAHbhRq82yAN8+YY7CUKBvJquiiRVDffvbYWhrS4fIIsBNywoBZ -PGoKUhE9RlR5nRyWvQmeKsBmM9bbzEIW4A5GHO5+6Fb2g1cbLx1poCZRta2oE/JJ -qusChTZMXdGmEapT8w+sLqyZYtyPn+W8MuX5N9oZppYWIzUDlxHn6yqQPOj98aKu -rsIu+aECgYEA+x047lp1C3R5dByfk9JwxTayTgfyrnCElV60+KVYxwJkZniMkBk7 -ncy0WtcOBQiwNYLCHMpx9IZkSlWbW0C3e2CgGmLahpi8yhBOzPiUinLY/V5xzbxK -ojTkf3pYZo1viJG9MTUI1xEr9anZHM9GmqVnk8gJdi2a64wXGyvXxiUCgYEAzYH5 -8oRuvWgT+4KXql8EUX57YQEDIpeqp4DJHMk5X5OWYZ8by5kyRNDLSvqf5kWnkRpK -VMXuKdpVJXb3OWBvzymzxB/pBfTFFaBybsMQZUKpXfucRSfeQ0T6x1VVLozb6mNH -T7q4nms1LiUidp7M09XtfwJYMlLu/prZ1yN+jcMCgYEA78e4nAiuKNEARDosumdA -nWAcJFx8g8sXHtY/MgoY2nbTTfGgLtyZS5WzReaCEZZ5Q69nETzSUW6eh0h1P05t -pZbfajKofcuMwdmOlTRsCkOeJVmwi4ZXMcoVwhAeJ1a4gIzBPiJpHYvdEQgtM9BM -l9CHNdrWBg2IF5E+YwibUi0CgYBMKtpa2l648LRHSbWwvZq6IajU4S0qSxBDGOZx -Ntt+4xKfh/sjUNpiywgt+An/rN1YWGgoV1vYQ0W/pwImT+ng3FH2ZOVXActyIo+H -IeEXxsdDQBhBQW+Neyl/a88we6CelME/ebMndBC306ecU2sTMHzf0BykOjy+POJ0 -bIFhRQKBgBjfK/s6mbif311d4kEzT0aGIPK0STfD5FKDCazdZ3F+/aS8iorEVGou -T7EwvdJvb13N9CpQGvN1nbSUc+rI3MY/Fa0m4FxE1A0FnS3AAVISgY3M4k2pjbIa -3LfQHtOPDKX0gaYFqf99w1Xwtib4E5PFaRcdUuuc1o8Xv315uh8p ------END RSA PRIVATE KEY----- \ No newline at end of file diff --git a/oat-sa/bundle-lti1p3/2.0/config/secrets/dev/public.key b/oat-sa/bundle-lti1p3/2.0/config/secrets/dev/public.key deleted file mode 100644 index 003014c3..00000000 --- a/oat-sa/bundle-lti1p3/2.0/config/secrets/dev/public.key +++ /dev/null @@ -1,9 +0,0 @@ ------BEGIN PUBLIC KEY----- -MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAyZXlfd5yqChtTH91N76V -okquRu2r1EwNDUjA0GAygrPzCpPbYokasxzs+60Do/lyTIgd7nRzudAzHnujIPr8 -GOPIlPlOKT8HuL7xQEN6gmUtz33iDhK97zK7zOFEmvS8kYPwFAjQ03YKv+3T9b/D -brBZWy2Vx4Wuxf6mZBggKQfwHUuJxXDv79NenZarUtC5iFEhJ85ovwjW7yMkcflh -Ugkf1o/GIR5RKoNPttMXhKYZ4hTlLglMm1FgRR63pvYoy9Eq644a9x2mbGelO3Hn -GbkaFo0HxiKbFW1vplHzixYCyjc15pvtBxw/x26p8+lNthuxzaX5HaFMPGs10rRP -LwIDAQAB ------END PUBLIC KEY----- \ No newline at end of file diff --git a/oat-sa/bundle-lti1p3/2.0/post-install.txt b/oat-sa/bundle-lti1p3/2.0/post-install.txt index c0990143..30718974 100644 --- a/oat-sa/bundle-lti1p3/2.0/post-install.txt +++ b/oat-sa/bundle-lti1p3/2.0/post-install.txt @@ -8,4 +8,4 @@ * Configure the platform and tools automated routes in file config/routes/lti1p3.yaml - * Read the documentation at https://github.com/oat-sa/bundle-lti1p3 + * Read the documentation at https://github.com/oat-sa/bundle-lti1p3