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.

4537 created this task.Jan 2 2018, 3:47 PM
werner edited projects, added gpg4win, Support; removed Bug Report.Jan 2 2018, 6:25 PM
aheinecke closed this task as Invalid.Jan 8 2018, 9:04 AM
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.