isislovecruft / python-gnupg

A modified version of python-gnupg, including security patches, extensive documentation, and extra features.
Other
426 stars 171 forks source link

decrypt function, passphrase arg doesn't work #269

Closed stpud-crno-cdoing closed 4 years ago

stpud-crno-cdoing commented 4 years ago

passphrase arg does nothing, library still asks password with gui window. I'm trying to decrypt message with function like this:


def decrypt_raw(self, txt):
    try:
        return self.gpg.decrypt(txt, passphrase="asdqwe")
    except Exception as e:
        return e
stpud-crno-cdoing commented 4 years ago

Sorry, i've mistaken in password input. All works fine, closed.