Skip to content

Commit

Permalink
set_enterprise_users_data_keys: pupulate keyTypeId
Browse files Browse the repository at this point in the history
  • Loading branch information
sk-keeper committed Jan 5, 2024
1 parent 07ca6c4 commit 085ecc1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions keepercommander/commands/enterprise_create_user.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@ def execute(self, params, **kwargs):
user_key = enterprise_pb2.EnterpriseUserDataKey()
user_key.enterpriseUserId = user_id
user_key.userEncryptedDataKey = crypto.encrypt_ec(user_data_key, params.enterprise_ec_key)
user_key.keyTypeId = 4
rqs.append(user_key)
logging.info('Converting key for user "%s"', username)
except Exception as e:
Expand Down

0 comments on commit 085ecc1

Please sign in to comment.