Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add -key_ops ALL to setup (ref: #3747) #3755

Merged
merged 1 commit into from
Feb 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
feat: add -key_ops ALL to setup (ref: #3747)
  • Loading branch information
devrimyatar committed Feb 1, 2023
commit 1ba83edf01dcc3523d2e6d6a9bbda270d0d3b7e7
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