You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Following the instructions in the readme and receiving the following
error:
TypeError: _genword() got multiple values for argument 'length'
after:
my_key = my_key_manager.create('MY_FIRST_KEY')
The text was updated successfully, but these errors were encountered:
TypeError: secret must be unicode or bytes, not None
I fixed it by replacing :
@property
def full_key(self):
"""If we have all the pieces, construct the full_key. Only
on the fly gives us less chance of compromise.
"""
prefix = self._cfg['prefix']
if self.prefix and self.uuid and self._secret:
full_key = f'{prefix}_{self.uuid}.{self._secret}'
return full_key
return None
WIth :
@property
def full_key(self):
"""If we have all the pieces, construct the full_key. Only
on the fly gives us less chance of compromise.
"""
prefix = self._cfg['prefix']
if prefix and self.uuid and self._secret:
full_key = f'{prefix}_{self.uuid}.{self._secret}'
return full_key
return None
Following the instructions in the readme and receiving the following
error:
TypeError: _genword() got multiple values for argument 'length'
after:
my_key = my_key_manager.create('MY_FIRST_KEY')
The text was updated successfully, but these errors were encountered: