× 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.



Ta, I haven't been able to look there coz I've forgotten the ipro password.
I'll see if a colleague knows it.

-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Mark S Waterbury
Sent: Friday, 10 February 2017 11:48 AM
To: midrange-l@xxxxxxxxxxxx
Subject: [IE] Re: Using GNUPG --encrypt problems

Peter:

Scott Klement also explained this "/.dev/tty" issue in his article "Using GnuPG for PGP on i" at:

http://iprodeveloper.com/application-development/using-gnupg-pgp-i

Hope that helps,

Mark S. Waterbury

On 2/9/2017 5:11 PM, Peter Connell wrote:
I've installed GnuPG for IBM I PASE from Scott Klement's web site.

I was supplied with a file containing the public key of the recipient of the encrypted file.
Using QP2TERM I successfully imported the public key

gpg --armour --import '/tmp/VedaProd (Veda Prod File Transfer).asc'
gpg: WARNING: using insecure memory!
gpg: please see http://www.gnupg.org/faq.html for more information
gpg: directory `/home/pjctest/.gnupg' created
gpg: new configuration file `/home/pjctest/.gnupg/gpg.conf' created
gpg: WARNING: options in `/home/pjctest/.gnupg/gpg.conf' are not yet
active during this run
gpg: keyring `/home/pjctest/.gnupg/secring.gpg' created
gpg: keyring `/home/pjctest/.gnupg/pubring.gpg' created
gpg: /home/pjctest/.gnupg/trustdb.gpg: trustdb created
gpg: key BCC4E7A8: public key "VedaProd (Veda Prod File Transfer)
<serverandstorage@xxxxxxxxxxxxxxxxx>" imported
gpg: Total number processed: 1
gpg: imported: 1

It appears that the 'WARNING: using insecure memory' is just that and
can be inhibited by adding 'no-secmem-warning' to the gpg.conf file
Then I confirmed the import by listing the keys

gpg --list-keys
gpg: WARNING: using insecure memory!
gpg: please see http://www.gnupg.org/faq.html for more information
/home/pjctest/.gnupg/pubring.gpg
--------------------------------
pub 1024D/BCC4E7A8 2009-11-08
uid VedaProd (Veda Prod File Transfer) <serverandstorage@xxxxxxxxxxxxxxxxx>
sub 2048g/333FF8CF 2009-11-08

But when I try to encrypt a test file I get the error 'cannot open /dev/tty'

gpg --encrypt --recipient 'serverandstorage@xxxxxxxxxxxxxxxxx'
/home/pjctest/test.txt
gpg: WARNING: using insecure memory!
gpg: please see http://www.gnupg.org/faq.html for more information
gpg: 333FF8CF: There is no assurance this key belongs to the named
user
gpg: cannot open `/dev/tty': No such device or address $

I can't get past this. Has anyone done this before?

Regards, Peter

############################################################## This
correspondence is for the named person's use only. It may contain
confidential or legally privileged information, or both. No
confidentiality or privilege is waived or lost by any mistransmission.
If you receive this correspondence in error, please immediately delete
it from your system and notify the sender. You must not disclose, copy
or rely on any part of this correspondence if you are not the intended
recipient. Any views expressed in this message are those of the
individual sender, except where the sender expressly, and with
authority, states them to be the views of Veda. If you need
assistance, please contact Veda :- Australia
http://www.veda.com.au/contact-us New Zealand
http://www.veda.co.nz/contact-veda
##############################################################


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxx for any subscription related questions.

Help support midrange.com by shopping at amazon.com with our affiliate link: http://amzn.to/2dEadiD
############################################################## This correspondence is for the named person's use only. It may contain confidential or legally privileged information, or both. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this correspondence in error, please immediately delete it from your system and notify the sender. You must not disclose, copy or rely on any part of this correspondence if you are not the intended recipient. Any views expressed in this message are those of the individual sender, except where the sender expressly, and with authority, states them to be the views of Veda. If you need assistance, please contact Veda :- Australia http://www.veda.com.au/contact-us New Zealand http://www.veda.co.nz/contact-veda ##############################################################

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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.