Page MenuHome GnuPG

Unable to encrypt with --sign w/o input
Closed, ResolvedPublic

Description

Environment

Sun Sparc, 2.8

Description

I am automatinga script to encrypt and ftp files. Keep getting the following when I try to sign the file: "It is NOT certain that the key belongs to the person named
in the user ID. If you *really* know what you are doing,
you may answer the next question with yes".

How To Repeat

/usr/local/bin/gpg -r "Doreen Moore" --yes \

--output "$FILEDIR/DARM-PA04-DA-RM" \
--armor --sign --encrypt \
--text --passphrase-fd 0 < "/export/home/dmoore/bin/passphrase.key" --yes \
"$files"

Fix

Unknown

Event Timeline

werner added a subscriber: werner.

Not a bug.

The key is not valid in terms of the Web of Trust; e.h. it has not been signed by an ultimately trusted key. Either do this or use the option --always-trust