Skip to content

Commit

Permalink
Fix name of the keyword argument for luks_add_key
Browse files Browse the repository at this point in the history
It should be 'npass' not 'new_passphrase'.
  • Loading branch information
vpodzime committed Mar 19, 2015
1 parent 9a6acef commit e7bead3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blivet/formats/luks.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ def addPassphrase(self, passphrase):
blockdev.crypto_luks_add_key(self.device,
pass_=self.__passphrase,
key_file=self._key_file,
new_passphrase=passphrase)
npass=passphrase)

def removePassphrase(self):
"""
Expand Down

0 comments on commit e7bead3

Please sign in to comment.