Skip to content

Commit

Permalink
Update passphrase
Browse files Browse the repository at this point in the history
  • Loading branch information
amontenegro committed Dec 9, 2024
1 parent a99373d commit 37453e2
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docker-entrypoint-initdb.d/4-orcid-schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -6535,15 +6535,15 @@ INSERT INTO public.identifier_type (id, id_name, id_validation_regex, id_resolut

--
-- NOTE! The following users and clients have their passwords encrypted using the QA passphrases, so, for this to work, you will need to add the following properties env variables to tomcat:
-- -Dorg.orcid.core.passPhraseForInternalEncryption=XeZa8wUkuchusp8saWaW
-- -Dorg.orcid.core.passPhraseForExternalEncryption=spAbusa3ubRase7udEpr
-- -Dorg.orcid.core.passPhraseForInternalEncryption=wibbler12345678
-- -Dorg.orcid.core.passPhraseForExternalEncryption=wibbler12345678
--

--
-- Create users
--
INSERT INTO public.profile (orcid, date_created, last_modified, account_expiry, completed_date, claimed, creation_method, enabled, encrypted_password, is_selectable_sponsor, source_id, orcid_type, submission_date, indexing_status, profile_deactivation_date, activities_visibility_default, last_indexed_date, locale, primary_record, deprecated_date, group_type, referred_by, enable_developer_tools, salesforce_id, client_source_id, developer_tools_enabled_date, record_locked, used_captcha_on_registration, user_last_ip, reviewed, reason_locked, reason_locked_description, hashed_orcid, last_login, secret_for_2fa, using_2fa, deprecating_admin, deprecated_method, record_locked_date, record_locked_admin_id, signin_lock_start, signin_lock_last_attempt, signin_lock_count, auto_lock_date) VALUES ('0000-0000-0000-0000', '2024-12-05 20:17:30.31', '2024-12-05 20:17:30.037982', NULL, NULL, true, 'Direct', true, 'yuDgrpyC1FBhUjVoNUCSby/XKUt5fyqappN8CeC+jOZ0LDBmt+9UyWwkNistBHhAfd2SlGRQ7m+J6khv6D2OjYO/Hm/cSvVUlzVuE21RD48=', NULL, NULL, 'USER', '2024-12-05 20:17:30.038+00', 'DONE', NULL, 'PUBLIC', '2024-12-05 20:17:38.210127+00', 'EN', NULL, NULL, NULL, NULL, false, NULL, NULL, NULL, false, true, '186.5.174.177', false, NULL, NULL, '92642c5c8e7d21de97aadf4c913a0817be9a1ee9a04091a22be7870489734b89', '2024-12-05 20:20:18.633868', NULL, false, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL);
INSERT INTO public.profile (orcid, date_created, last_modified, account_expiry, completed_date, claimed, creation_method, enabled, encrypted_password, is_selectable_sponsor, source_id, orcid_type, submission_date, indexing_status, profile_deactivation_date, activities_visibility_default, last_indexed_date, locale, primary_record, deprecated_date, group_type, referred_by, enable_developer_tools, salesforce_id, client_source_id, developer_tools_enabled_date, record_locked, used_captcha_on_registration, user_last_ip, reviewed, reason_locked, reason_locked_description, hashed_orcid, last_login, secret_for_2fa, using_2fa, deprecating_admin, deprecated_method, record_locked_date, record_locked_admin_id, signin_lock_start, signin_lock_last_attempt, signin_lock_count, auto_lock_date) VALUES ('0000-0000-0000-0001', '2024-12-05 20:18:52.782', '2024-12-05 20:18:52.523386', NULL, NULL, true, 'Direct', true, 'X7VnXb6WRFdy1cI3DV4UPSn55SUOr9Tmy5wVjrwohsoOu+5JIWg2BZm3RQeR1gtyw/74YPJ+SUyUAPskoTdGw36oRlCQ1bKheRhpHy4QnpU=', NULL, NULL, 'ADMIN', '2024-12-05 20:18:52.524+00', 'DONE', NULL, 'PUBLIC', '2024-12-05 20:18:58.276245+00', 'EN', NULL, NULL, NULL, NULL, false, NULL, NULL, NULL, false, true, '186.5.174.177', false, NULL, NULL, '43a7ac7d5ccde49654ec71a1d5d3a7829517086206d9c0366fc9b64316e51002', '2024-12-05 20:20:32.078858', NULL, false, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL);
INSERT INTO public.profile (orcid, date_created, last_modified, account_expiry, completed_date, claimed, creation_method, enabled, encrypted_password, is_selectable_sponsor, source_id, orcid_type, submission_date, indexing_status, profile_deactivation_date, activities_visibility_default, last_indexed_date, locale, primary_record, deprecated_date, group_type, referred_by, enable_developer_tools, salesforce_id, client_source_id, developer_tools_enabled_date, record_locked, used_captcha_on_registration, user_last_ip, reviewed, reason_locked, reason_locked_description, hashed_orcid, last_login, secret_for_2fa, using_2fa, deprecating_admin, deprecated_method, record_locked_date, record_locked_admin_id, signin_lock_start, signin_lock_last_attempt, signin_lock_count, auto_lock_date) VALUES ('0000-0000-0000-0000', '2024-12-05 20:17:30.31', '2024-12-05 20:17:30.037982', NULL, NULL, true, 'Direct', true, '7wc70RIAw5b2P5DS15Rpllw2UbNNZl0pU71ITWbeG7MB28AOZcidpzscwCBuql/k/O9TUKN6EQ1gz615fhKF+1Z7MrNWlXli4pyaXRyzgOQ=', NULL, NULL, 'USER', '2024-12-05 20:17:30.038+00', 'DONE', NULL, 'PUBLIC', '2024-12-05 20:17:38.210127+00', 'EN', NULL, NULL, NULL, NULL, false, NULL, NULL, NULL, false, true, '186.5.174.177', false, NULL, NULL, '92642c5c8e7d21de97aadf4c913a0817be9a1ee9a04091a22be7870489734b89', '2024-12-05 20:20:18.633868', NULL, false, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL);
INSERT INTO public.profile (orcid, date_created, last_modified, account_expiry, completed_date, claimed, creation_method, enabled, encrypted_password, is_selectable_sponsor, source_id, orcid_type, submission_date, indexing_status, profile_deactivation_date, activities_visibility_default, last_indexed_date, locale, primary_record, deprecated_date, group_type, referred_by, enable_developer_tools, salesforce_id, client_source_id, developer_tools_enabled_date, record_locked, used_captcha_on_registration, user_last_ip, reviewed, reason_locked, reason_locked_description, hashed_orcid, last_login, secret_for_2fa, using_2fa, deprecating_admin, deprecated_method, record_locked_date, record_locked_admin_id, signin_lock_start, signin_lock_last_attempt, signin_lock_count, auto_lock_date) VALUES ('0000-0000-0000-0001', '2024-12-05 20:18:52.782', '2024-12-05 20:18:52.523386', NULL, NULL, true, 'Direct', true, '7wc70RIAw5b2P5DS15Rpllw2UbNNZl0pU71ITWbeG7MB28AOZcidpzscwCBuql/k/O9TUKN6EQ1gz615fhKF+1Z7MrNWlXli4pyaXRyzgOQ=', NULL, NULL, 'ADMIN', '2024-12-05 20:18:52.524+00', 'DONE', NULL, 'PUBLIC', '2024-12-05 20:18:58.276245+00', 'EN', NULL, NULL, NULL, NULL, false, NULL, NULL, NULL, false, true, '186.5.174.177', false, NULL, NULL, '43a7ac7d5ccde49654ec71a1d5d3a7829517086206d9c0366fc9b64316e51002', '2024-12-05 20:20:32.078858', NULL, false, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL);
INSERT INTO public.email (date_created, last_modified, email, orcid, visibility, is_primary, is_current, is_verified, source_id, client_source_id, email_hash, assertion_origin_source_id, assertion_origin_client_source_id, date_verified) VALUES ('2024-12-05 20:18:52.785+00', '2024-12-05 20:18:52.785+00', '[email protected]', '0000-0000-0000-0001', 'PRIVATE', true, true, false, '0000-0000-0000-0001', NULL, 'c9fb16d78d4f44c1ff05ca7cf81a8b267c525bc2144886c1e0af89c374484af9', NULL, NULL, NULL);
INSERT INTO public.email (date_created, last_modified, email, orcid, visibility, is_primary, is_current, is_verified, source_id, client_source_id, email_hash, assertion_origin_source_id, assertion_origin_client_source_id, date_verified) VALUES ('2024-12-05 20:17:30.313+00', '2024-12-05 20:17:30.313+00', '[email protected]', '0000-0000-0000-0000', 'PRIVATE', true, true, false, '0000-0000-0000-0000', NULL, '9167d11d8fd4253671d7cf74b80d8053b267fad86e36e891b4b8a5d90db45cb8', NULL, NULL, NULL);
INSERT INTO public.record_name (id, orcid, credit_name, family_name, given_names, visibility, date_created, last_modified) VALUES (10463, '0000-0000-0000-0000', NULL, 'Orcid', 'User', 'PUBLIC', '2024-12-05 20:17:30.316+00', '2024-12-05 20:17:30.316+00');
Expand All @@ -6554,7 +6554,7 @@ INSERT INTO public.granted_authority (authority, orcid, date_created, last_modif
--
-- Create premium member
--
INSERT INTO public.profile (orcid, date_created, last_modified, account_expiry, completed_date, claimed, creation_method, enabled, encrypted_password, is_selectable_sponsor, source_id, orcid_type, submission_date, indexing_status, profile_deactivation_date, activities_visibility_default, last_indexed_date, locale, primary_record, deprecated_date, group_type, referred_by, enable_developer_tools, salesforce_id, client_source_id, developer_tools_enabled_date, record_locked, used_captcha_on_registration, user_last_ip, reviewed, reason_locked, reason_locked_description, hashed_orcid, last_login, secret_for_2fa, using_2fa, deprecating_admin, deprecated_method, record_locked_date, record_locked_admin_id, signin_lock_start, signin_lock_last_attempt, signin_lock_count, auto_lock_date) VALUES ('0009-0000-0000-0000', '2024-04-22 14:28:28.872', '2024-04-22 14:28:46.537', NULL, NULL, true, 'Direct', true, NULL, NULL, NULL, 'GROUP', '2024-04-22 14:28:28.865+00', 'DONE', NULL, 'PRIVATE', '2024-04-22 15:28:39.641078+00', 'EN', NULL, NULL, 'PREMIUM', NULL, false, '123456789012345', NULL, NULL, false, false, NULL, true, NULL, NULL, '716ba0ab70d546a7b7578118a7aec863564e555ebc21caa0b3d9fc17dec87383', NULL, NULL, false, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO public.profile (orcid, date_created, last_modified, account_expiry, completed_date, claimed, creation_method, enabled, encrypted_password, is_selectable_sponsor, source_id, orcid_type, submission_date, indexing_status, profile_deactivation_date, activities_visibility_default, last_indexed_date, locale, primary_record, deprecated_date, group_type, referred_by, enable_developer_tools, salesforce_id, client_source_id, developer_tools_enabled_date, record_locked, used_captcha_on_registration, user_last_ip, reviewed, reason_locked, reason_locked_description, hashed_orcid, last_login, secret_for_2fa, using_2fa, deprecating_admin, deprecated_method, record_locked_date, record_locked_admin_id, signin_lock_start, signin_lock_last_attempt, signin_lock_count, auto_lock_date) VALUES ('0009-0000-0000-0000', '2024-04-22 14:28:28.872', '2024-04-22 14:28:46.537', NULL, NULL, true, 'Direct', true, '7wc70RIAw5b2P5DS15Rpllw2UbNNZl0pU71ITWbeG7MB28AOZcidpzscwCBuql/k/O9TUKN6EQ1gz615fhKF+1Z7MrNWlXli4pyaXRyzgOQ=', NULL, NULL, 'GROUP', '2024-04-22 14:28:28.865+00', 'DONE', NULL, 'PRIVATE', '2024-04-22 15:28:39.641078+00', 'EN', NULL, NULL, 'PREMIUM', NULL, false, '123456789012345', NULL, NULL, false, false, NULL, true, NULL, NULL, '716ba0ab70d546a7b7578118a7aec863564e555ebc21caa0b3d9fc17dec87383', NULL, NULL, false, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO public.email (date_created, last_modified, email, orcid, visibility, is_primary, is_current, is_verified, source_id, client_source_id, email_hash, assertion_origin_source_id, assertion_origin_client_source_id, date_verified) VALUES ('2024-04-22 14:28:28.889+00', '2024-04-22 14:28:28.889+00', '[email protected]', '0009-0000-0000-0000', 'PRIVATE', true, true, true, '0009-0000-0000-0000', NULL, '31f4018550531879ff9f02f3b0670cf6abc13524bc2c94d8eb25149085f31a52', NULL, NULL, NULL);
INSERT INTO public.granted_authority (authority, orcid, date_created, last_modified) VALUES ('ROLE_GROUP', '0009-0000-0000-0000', '2024-04-22 14:28:28.873', '2024-04-22 14:28:28.873');
INSERT INTO public.record_name (id, orcid, credit_name, family_name, given_names, visibility, date_created, last_modified) VALUES (9281, '0009-0000-0000-0000', 'Member', NULL, NULL, 'PUBLIC', '2024-04-22 14:28:28.904+00', '2024-04-22 14:28:28.904+00');
Expand All @@ -6565,7 +6565,7 @@ INSERT INTO public.record_name (id, orcid, credit_name, family_name, given_names
-- Client redirect uri: https://qa.orcid.org
--
INSERT INTO public.client_details (client_details_id, client_secret, date_created, last_modified, client_name, webhooks_enabled, client_description, client_website, persistent_tokens_enabled, group_orcid, client_type, authentication_provider_id, allow_auto_deprecate, email_access_reason, user_obo_enabled, deactivated_date, deactivated_by) VALUES ('APP-0000000000000000000', NULL, '2024-04-22 14:29:52.29', '2024-04-22 14:30:46.541', 'Test', true, 'Just a test', 'http://www.orcid.org', true, '0009-0000-0000-0000', 'PREMIUM_UPDATER', '', false, NULL, false, NULL, NULL);
INSERT INTO public.client_secret (client_details_id, client_secret, date_created, last_modified, is_primary) VALUES ('APP-0000000000000000000', 'v7XOuWET5Qx6noSQgkt9n0HaBe0Z+QS+0jNREQXDARAky8HA7ZYLZ05p8bLCUxvQ', '2024-04-22 14:29:52.296+00', '2024-04-22 14:29:52.296+00', true);
INSERT INTO public.client_secret (client_details_id, client_secret, date_created, last_modified, is_primary) VALUES ('APP-0000000000000000000', '/yDskPX+DCU3aMoNHgyvyiMpPLF4cqErwG4vKHqmKu3diCjdYJKyH30u9Ue+7RTm', '2024-04-22 14:29:52.296+00', '2024-04-22 14:29:52.296+00', true);
INSERT INTO public.client_redirect_uri (client_details_id, redirect_uri, date_created, last_modified, predefined_client_redirect_scope, redirect_uri_type, uri_act_type, uri_geo_area, status) VALUES ('APP-0000000000000000000', 'https://qa.orcid.org', '2024-04-22 14:29:52.293', '2024-04-22 14:29:52.293', '', 'default', '{"import-works-wizard":["Articles"]}', '{"import-works-wizard":["Global"]}', 'OK');
INSERT INTO public.client_authorised_grant_type (client_details_id, grant_type, date_created, last_modified) VALUES ('APP-0000000000000000000', 'refresh_token', '2024-04-22 14:29:52.291', '2024-04-22 14:29:52.291');
INSERT INTO public.client_authorised_grant_type (client_details_id, grant_type, date_created, last_modified) VALUES ('APP-0000000000000000000', 'implicit', '2024-04-22 14:29:52.292', '2024-04-22 14:29:52.292');
Expand Down

0 comments on commit 37453e2

Please sign in to comment.