Skip to content

Commit

Permalink
fix: jans-linux-setup upgrade to MDS3 in fido2 (#2507)
Browse files Browse the repository at this point in the history
  • Loading branch information
devrimyatar committed Sep 29, 2022
1 parent be872ad commit fcbcd2f
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion jans-linux-setup/jans_setup/setup_app/installers/fido.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ class FidoInstaller(JettyInstaller):

source_files = [
(os.path.join(Config.dist_jans_dir, 'jans-fido2.war'), os.path.join(base.current_app.app_info['JANS_MAVEN'], 'maven/io/jans/jans-fido2-server/{0}/jans-fido2-server-{0}.war').format(base.current_app.app_info['ox_version'])),
(os.path.join(Config.dist_app_dir, os.path.basename(base.current_app.app_info['APPLE_WEBAUTHN'])), base.current_app.app_info['APPLE_WEBAUTHN'])
(os.path.join(Config.dist_app_dir, os.path.basename(base.current_app.app_info['APPLE_WEBAUTHN'])), base.current_app.app_info['APPLE_WEBAUTHN']),
(os.path.join(Config.dist_app_dir, 'fido2/mds/toc/toc.jwt'), 'https://mds.fidoalliance.org/'),
(os.path.join(Config.dist_app_dir, 'fido2/mds/cert/root-r3.crt'), 'https://secure.globalsign.com/cacert/root-r3.crt'),
]

def __init__(self):
Expand Down Expand Up @@ -86,3 +88,8 @@ def copy_static(self):
self.run([paths.cmd_mkdir, '-p', target_dir])
self.copyFile(self.source_files[1][0], target_dir)

# copy external files
self.copy_tree(
os.path.join(Config.dist_app_dir, 'fido2'),
self.fido2ConfigFolder
)

0 comments on commit fcbcd2f

Please sign in to comment.