lib/sym/app/commands/password_protect_key.rb in sym-2.2.1 vs lib/sym/app/commands/password_protect_key.rb in sym-2.3.0
- old
+ new
@@ -6,10 +6,10 @@
class PasswordProtectKey < BaseCommand
required_options [:private_key, :keyfile, :keychain, :interactive],
:password
- try_after :generate_key, :encrypt_decrypt
+ try_after :generate_key, :encrypt, :decrypt
def execute
retries ||= 0
the_key = self.key