Quantcast
Channel: Symantec Connect - Security - Discussions
Viewing all articles
Browse latest Browse all 203

Are you sure you want to use this public key (y/N)?Ok,

$
0
0
I need a solution

I am using an old AIX server to do PGP encryption.  I have received the key and added it:

Type bits      keyID      Date       User ID
RSA  2048/2048 0xB1FDB5B9 2015/04/08 Feeds Gateway QA <FSTeam@searshc.com>

When I try to use the key to do encryption through a script I get "Are you sure you want to use this public key (y/N)?Ok, skipping userid Feeds Gateway QA <FSTeam@searshc.com>
Encryption error"

Here is my command line:

$HOME/.pgp/pgp -e +force +batchmode +compatible=on +verbose=2 "CLSINSSO.20100202.13020202.xml""FSTeam"

It looks like PGP is asking for approval to continue but I am running in batch, so I cannot reply "yes".  When I run interactively and I answer "yes" the process runs fine.  How do I stop PGP from asking this question?  I thought the +force command would force the answer "yes" to any questions.

I have tried to sign the key and it always comes back with a Key signature error:

risuser(Magneto):/homeappl/risuser/.pgp> pgp -ks "Feeds Gateway QA <FSTeam@searshc.com>"
Pretty Good Privacy(tm) Version 6.5.2
(c) 1999 Network Associates Inc.
Uses the BSafe(tm) Toolkit, which is copyright RSA Data Security, Inc.
Export of this software may be restricted by the U.S. government.

Key signature error.

0

Viewing all articles
Browse latest Browse all 203

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>