Page MenuHome GnuPG

getting passphrase failed: not supported error
Closed, InvalidPublic

Description

How to set passprase through command with out asking prompt, I am using a job with .bat file to encrypt and decrypt.
I used below command to cache the passphrase
gpg-preset-passphrase --passphrase mypassphrase--preset key and getting below error

caching phrase faile: not supported.
I am using
This is GnuPG for Windows, version 2.2.3.

Event Timeline

aheinecke added a subscriber: aheinecke.

You might want to look at: https://wiki.gnupg.org/TroubleShooting#Passphrase_on_the_command_line

Also please update to the latest version (3.0.1).

As this is a support question please use a channel from: https://www.gpg4win.org/community.html

This tracker is for program errors.