Skip to content

Commit

Permalink
fix: oops
Browse files Browse the repository at this point in the history
  • Loading branch information
Xlin123 committed May 3, 2024
1 parent fd921a6 commit 1876358
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/python/sshnpd/sshnpd.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def is_alive(self):
def set_username(self):
username = getpass.getuser()
username_key = SharedKey(
f"username.{self.device}.sshnp", AtSign(self.manager_atsign), AtSign(self.atsign))
f"username.{self.device}.sshnp", AtSign(self.atsign), AtSign(self.manager_atsign))
metadata = Metadata(iv_nonce= EncryptionUtil.generate_iv_nonce(), is_public=False, is_encrypted=True, is_hidden=False)
username_key.metadata = metadata
username_key.cache(-1, True)
Expand Down

0 comments on commit 1876358

Please sign in to comment.