Sha256: 27a581a292cdbecb2bd8f4f12c646402278b30124a07506921e8edadf6ee62c2

Contents?: true

Size: 360 Bytes

Versions: 29

Compression:

Stored size: 360 Bytes

Contents

module RubyGPG2
  module Commands
    module Mixins
      module WithoutPassphrase
        def configure_command(builder, opts)
          without_passphrase = opts[:without_passphrase]
          super(builder, without_passphrase ?
              opts.merge(passphrase: '', pinentry_mode: :loopback) :
              opts)
        end
      end
    end
  end
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
ruby_gpg2-0.9.0.pre.6 lib/ruby_gpg2/commands/mixins/without_passphrase.rb
ruby_gpg2-0.9.0.pre.5 lib/ruby_gpg2/commands/mixins/without_passphrase.rb
ruby_gpg2-0.9.0.pre.4 lib/ruby_gpg2/commands/mixins/without_passphrase.rb
ruby_gpg2-0.9.0.pre.3 lib/ruby_gpg2/commands/mixins/without_passphrase.rb
ruby_gpg2-0.9.0.pre.2 lib/ruby_gpg2/commands/mixins/without_passphrase.rb
ruby_gpg2-0.9.0.pre.1 lib/ruby_gpg2/commands/mixins/without_passphrase.rb
ruby_gpg2-0.8.0 lib/ruby_gpg2/commands/mixins/without_passphrase.rb
ruby_gpg2-0.7.0.pre.1 lib/ruby_gpg2/commands/mixins/without_passphrase.rb
ruby_gpg2-0.6.0 lib/ruby_gpg2/commands/mixins/without_passphrase.rb
ruby_gpg2-0.5.0.pre.1 lib/ruby_gpg2/commands/mixins/without_passphrase.rb
ruby_gpg2-0.4.0 lib/ruby_gpg2/commands/mixins/without_passphrase.rb
ruby_gpg2-0.3.0.pre.2 lib/ruby_gpg2/commands/mixins/without_passphrase.rb
ruby_gpg2-0.3.0.pre.1 lib/ruby_gpg2/commands/mixins/without_passphrase.rb
ruby_gpg2-0.2.0 lib/ruby_gpg2/commands/mixins/without_passphrase.rb
ruby_gpg2-0.1.0.pre.27 lib/ruby_gpg2/commands/mixins/without_passphrase.rb
ruby_gpg2-0.1.0.pre.26 lib/ruby_gpg2/commands/mixins/without_passphrase.rb
ruby_gpg2-0.1.0.pre.25 lib/ruby_gpg2/commands/mixins/without_passphrase.rb
ruby_gpg2-0.1.0.pre.24 lib/ruby_gpg2/commands/mixins/without_passphrase.rb
ruby_gpg2-0.1.0.pre.23 lib/ruby_gpg2/commands/mixins/without_passphrase.rb
ruby_gpg2-0.1.0.pre.22 lib/ruby_gpg2/commands/mixins/without_passphrase.rb