Skip to content

Commit

Permalink
feat: add -key_ops ALL to setup (ref: #3747) (#3755)
Browse files Browse the repository at this point in the history
  • Loading branch information
devrimyatar authored Feb 1, 2023
1 parent d8670fe commit 3ce4bb2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions jans-linux-setup/jans_setup/setup_app/test_data_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ def create_test_client_keystore(self):

args = [Config.cmd_java, '-Dlog4j.defaultInitOverride=true',
'-cp', Config.non_setup_properties['oxauth_client_jar_fn'], Config.non_setup_properties['key_gen_path'],
'-key_ops', 'ALL',
'-keystore', client_keystore_fn,
'-keypasswd', 'secret',
'-sig_keys', Config.default_sig_key_algs,
Expand Down
2 changes: 2 additions & 0 deletions jans-linux-setup/jans_setup/setup_app/utils/crypto64.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,7 @@ def gen_openid_jwks_jks_keys(self, jks_path, jks_pwd, jks_create=True, key_expir
"-Dlog4j.defaultInitOverride=true",
"-cp", Config.non_setup_properties['oxauth_client_jar_fn'],
Config.non_setup_properties['key_gen_path'],
'-key_ops', 'ALL',
"-keystore",
jks_path,
"-keypasswd",
Expand All @@ -304,6 +305,7 @@ def export_openid_key(self, jks_path, jks_pwd, cert_alias, cert_path):
"-cp",
Config.non_setup_properties['oxauth_client_jar_fn'],
Config.non_setup_properties['key_export_path'],
'-key_ops', 'ALL',
"-keystore",
jks_path,
"-keypasswd",
Expand Down

0 comments on commit 3ce4bb2

Please sign in to comment.