× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I have a project where I need to send out real CC numbers to a vendor for a short period of time.
They want these files PGP encrypted.
I found GnuPG for the I on Scott K's page.
https://www.scottklement.com/gnupg/

I followed his instructions and got it installed.
I was also able to import my public key using " gpg -import".
When I did the import of the key I got the message:
/homedir/.gnupg/trustdb.gpg: trustdb created
Key xxx: emailaddr@xxxxxxxxxx<mailto:emailaddr@xxxxxxxxxx> imported

I can't seem to do a test encryption. Mainly I can't determine how to specify the key to use even though it is the only key loaded.
This is what I am doing to just get a test done.
CALL QP2TERM
PATH=$PATH:/QOpenSys/usr/bin:/QOpenSys/usr/local/bin

Some of the things I tried:
gpg --batch --yes --armor --recipient emailaddr@xxxxxxxxxx --encrypt /homedir/pgp_example.txt
CAA3F16F: There is no assurance this key belongs to the named user
gpg --encrypt /homedir/pgp_example.txt.
cannot open `/dev/tty': No such device or address

Ideally I want to do the encryption from a CL and then FTP it to a server.
Can you help me out?



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.