Skip to content

Commit

Permalink
Merge pull request #314 from itk-dev/feature/add-encryption-config
Browse files Browse the repository at this point in the history
Added encryption config
  • Loading branch information
jekuaitk authored May 14, 2024
2 parents 30a0d22 + 470de8b commit 7c347b9
Show file tree
Hide file tree
Showing 6 changed files with 48 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/sync/config_ignore.settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,5 @@ ignored_config_entities:
- 'leaflet_layers.map_bundle.*'
- 'leaflet_layers.map_layer.*'
- os2forms_forloeb.settings
- '# Ignore encryption key'
- key.key.webform.yml
5 changes: 5 additions & 0 deletions config/sync/core.extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ module:
dynamic_entity_reference: 0
dynamic_page_cache: 0
editor: 0
encrypt: 0
entity_print: 0
events_logging: 0
field: 0
Expand All @@ -49,6 +50,7 @@ module:
itkdev_openid_connect: 0
jquery_ui: 0
jquery_ui_datepicker: 0
key: 0
key_auth: 0
keyboard_shortcuts: 0
lang_dropdown: 0
Expand Down Expand Up @@ -115,6 +117,7 @@ module:
shortcut: 0
simplesamlphp_auth: 0
smtp: 0
sodium: 0
switch_page_theme: 0
syslog: 0
system: 0
Expand All @@ -132,6 +135,7 @@ module:
webform_attachment: 0
webform_composite: 0
webform_embed: 0
webform_encrypt: 0
webform_entity_print: 0
webform_entity_print_attachment: 0
webform_migrate: 0
Expand All @@ -157,6 +161,7 @@ module:
views: 10
os2forms_forloeb_profile: 1000
eu_cookie_compliance: 1001
os2forms_encrypt: 9999
theme:
bootstrap: 0
stable: 0
Expand Down
15 changes: 15 additions & 0 deletions config/sync/encrypt.profile.webform.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
uuid: 98e9a380-a5d6-4d2a-9176-7c50a9ec7c47
langcode: en
status: true
dependencies:
config:
- key.key.webform
module:
- sodium
_core:
default_config_hash: 4miM8UkvV0MH9zg2WDwY6bAdADaw5mHWS4m1PaaK9iA
id: webform
label: Webform
encryption_method: sodium
encryption_key: webform
encryption_method_configuration: { }
4 changes: 4 additions & 0 deletions config/sync/encrypt.settings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
_core:
default_config_hash: CMyccvAuba2yH-HYmcEL0pq1Seyxzq9VHhKbQKwAWY4
check_profile_status: true
allow_deprecated_plugins: false
19 changes: 19 additions & 0 deletions config/sync/key.key.webform.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
uuid: be3383e8-1b0e-4b50-989f-e132900d02a0
langcode: en
status: true
dependencies: { }
_core:
default_config_hash: nIajzA6KCO8rJsAn4--2gcBgi9eW4QUjCiHRxBuXPkA
id: webform
label: Webform
description: 'Encrypt webform submissions'
key_type: encryption
key_type_settings:
key_size: 256
key_provider: config
key_provider_settings:
key_value: LWD5+0klWZn48ZVs13UVHaHJYawX62PAMd3sklkKj/w=
base64_encoded: true
key_input: text_field
key_input_settings:
base64_encoded: true
3 changes: 3 additions & 0 deletions config/sync/os2forms_encrypt.settings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
_core:
default_config_hash: VwzMkTPurD4eXUBOO9IHEKC22bPC3nBHU3hTsU3PMsM
enabled: 1

0 comments on commit 7c347b9

Please sign in to comment.