lib/io_streams/pgp.rb in iostreams-1.6.0 vs lib/io_streams/pgp.rb in iostreams-1.6.1

- old
+ new

@@ -259,11 +259,11 @@ key_id = key_info.fetch(:key_id, nil) raise(ArgumentError, "Recipient email or key id cannot be extracted from supplied key") unless email || key_id import(key: key) set_trust(email: email, key_id: key_id) - email + email || key_id end # Set the trust level for an existing key. # # Returns [String] output if the trust was successfully updated @@ -348,10 +348,10 @@ def self.logger @logger end def self.version_check - return unless pgp_version.to_f >= 2.3 + return unless pgp_version.to_f >= 2.4 raise( Pgp::UnsupportedVersion, "Version #{pgp_version} of #{executable} is not yet supported. Please submit a Pull Request to support it." )