Skip to content

Commit

Permalink
Merge pull request #57 from vpodzime/master-luks_npass
Browse files Browse the repository at this point in the history
Fix name of the keyword argument for luks_add_key
  • Loading branch information
vpodzime committed Jul 29, 2015
2 parents d00e7d4 + 3d2fc06 commit f4fc207
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions blivet/formats/luks.py
Expand Up @@ -243,7 +243,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 All @@ -258,7 +258,7 @@ def removePassphrase(self):
raise LUKSError("format has not been created")

blockdev.crypto.luks_remove_key(self.device,
passphrase=self.__passphrase,
pass_=self.__passphrase,
key_file=self._key_file)

def escrow(self, directory, backupPassphrase):
Expand Down

0 comments on commit f4fc207

Please sign in to comment.