Module: RubyGPG2::Commands::Mixins::WithoutPassphrase
- Included in:
- Decrypt, ExportSecretKeys, GenerateKey
- Defined in:
- lib/ruby_gpg2/commands/mixins/without_passphrase.rb
Instance Method Summary collapse
Instance Method Details
#configure_command(builder, parameters) ⇒ Object
7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/ruby_gpg2/commands/mixins/without_passphrase.rb', line 7 def configure_command(builder, parameters) without_passphrase = parameters[:without_passphrase] p = parameters if without_passphrase p = p.merge( passphrase: '', pinentry_mode: :loopback ) end super(builder, p) end |