Skip to content

wrong argument type Hash (expected Data) (TypeError) #136

@enizbilgin

Description

@enizbilgin

When we pass the options in the decryption process, the following error occurs.

options = { :passphrase_callback => PassphraseCallback.new("test") }
cipthertext = GPGME::Data.new(File.open(file_path))
data = ctx.decrypt cipthertext, options

ctx.rb:426:in `gpgme_op_decrypt': [!] wrong argument type Hash (expected Data) (TypeError)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions