Skip to content

Commit

Permalink
add the md5 fingerprint from file support that somehow slipped during…
Browse files Browse the repository at this point in the history
… PR171

git-svn-id: svn+ssh://svn.code.sf.net/p/migrid/code/trunk@6189 b75ad72c-e7d7-11dd-a971-7dbc132099af
  • Loading branch information
jonasbardino committed Jan 7, 2025
1 parent dad63b8 commit a0c8892
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mig/shared/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -1154,7 +1154,8 @@ def reload_config(self, verbose, skip_log=False, disable_auth_log=False,
self.user_sftp_key_pub = config.get('GLOBAL',
'user_sftp_key_pub')
if config.has_option('GLOBAL', 'user_sftp_key_md5'):
fingerprint = config.get('GLOBAL', 'user_sftp_key_md5')
fingerprint = expand_external_sources(
logger, config.get('GLOBAL', 'user_sftp_key_md5'))
self.user_sftp_key_md5 = fingerprint
if config.has_option('GLOBAL', 'user_sftp_key_sha256'):
fingerprint = expand_external_sources(
Expand Down

0 comments on commit a0c8892

Please sign in to comment.