Skip to content

Commit 9304afe

Browse files
Merge pull request #611 from vossen-adobe/key_data_typo
Correct key data reference for decrypting
2 parents 65e34cc + 1ec396a commit 9304afe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

user_sync/connector/umapi_util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def make_auth_dict(name, config, org_id, tech_acct, logger):
2929
passphrase = config.get_credential('priv_key_pass', org_id, True)
3030
if passphrase:
3131
try:
32-
key_data = decrypt(passphrase, key_path)
32+
key_data = decrypt(passphrase, key_data)
3333
except (ValueError, IndexError, TypeError, AssertionException) as e:
3434
raise AssertionException('%s: Error decrypting private key, either the password is wrong or: %s' %
3535
(config.get_full_scope(), e))

0 commit comments

Comments
 (0)