[U2] GPG encryption from within Universe

2005-06-27 Thread Ed Weissman
Anyone using gpg from GNUpg for encryption?  Running IBM Universe on Windows
NT.  I downloaded this DOS based encryption software from www.gnupg.org as
required by one of our trading partners.  It works perfectly from a DOS
command prompt - gpg --armor --recipient XXX -encrypt-file FILENAME etc.etc
etc, creating FILENAME.asc. in the same directory.  But when I shell out from
within Universe using DOS /c gpg etc etc etc, I get an error message cannot
find public key.  I suspect this has something to do with either the way I
created the keys or with Windows registries.  Anyone run into this problem
before?  I have a workaround, an endless .bat loop on the server, that
encrypts a given filename whenever it finds it, but...YECCHH!  There's gotta
be a better way.  Any ideas?

Ed Weissman
The Matrix Group
ed @ematrixsports.com
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] GPG encryption from within Universe

2005-06-27 Thread Knowlton, Rod
If it works from a command line in C:\, try adding
--homedir=C:\ to your command line string in Universe.

- Rod

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Ed Weissman
Sent: Monday, June 27, 2005 1:54 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] GPG encryption from within Universe


Anyone using gpg from GNUpg for encryption?  Running IBM Universe on Windows
NT.  I downloaded this DOS based encryption software from www.gnupg.org as
required by one of our trading partners.  It works perfectly from a DOS
command prompt - gpg --armor --recipient XXX -encrypt-file FILENAME etc.etc
etc, creating FILENAME.asc. in the same directory.  But when I shell out from
within Universe using DOS /c gpg etc etc etc, I get an error message cannot
find public key.  I suspect this has something to do with either the way I
created the keys or with Windows registries.  Anyone run into this problem
before?  I have a workaround, an endless .bat loop on the server, that
encrypts a given filename whenever it finds it, but...YECCHH!  There's gotta
be a better way.  Any ideas?

Ed Weissman
The Matrix Group
ed @ematrixsports.com
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
**
Confidentiality:  This message and any attachments are for the addressee only 
and 
may contain privileged or confidential information.  If you have received this 
in error, 
please notify me immediately and permanently delete the message and any prints 
or 
other copies.  Thank you.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] GPG encryption from within Universe

2005-06-27 Thread Key Ally

Ed,
   Don't execute it that way. Encapsulate it in a BAT file that starts 
by changing the directory to to the gpg directory. Let UniVerse run that 
new BAT on-demand. No looping needed.


   - Chuck
Ed Weissman wrote:


Anyone using gpg from GNUpg for encryption?  Running IBM Universe on Windows
NT.  I downloaded this DOS based encryption software from www.gnupg.org as
required by one of our trading partners.  It works perfectly from a DOS
command prompt - gpg --armor --recipient XXX -encrypt-file FILENAME etc.etc
etc, creating FILENAME.asc. in the same directory.  But when I shell out from
within Universe using DOS /c gpg etc etc etc, I get an error message cannot
find public key.  I suspect this has something to do with either the way I
created the keys or with Windows registries.  Anyone run into this problem
before?  I have a workaround, an endless .bat loop on the server, that
encrypts a given filename whenever it finds it, but...YECCHH!  There's gotta
be a better way.  Any ideas?

---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] GPG encryption from within Universe {Unclassified}

2005-06-27 Thread HENDERSON MIKE, MR
Ed

What version of UniVerse?
There are 'issues' with the DOS /c ... command if you try to pass it
arguments (like FILENAME or path names) with embedded spaces.  There is
a fix for this in 10.1.1 
From the 10.1.1 Release Notes:
5616At this release, a new GCI function, UVRunCommand, has been
added. This command executes a Windows executable and has one
argument. You can specify the executable name and its argument
as a string. To execute the command, use
C:\windows\system32\cmd.exe /c. You must use single or double
quotation marks around the string argument, as shown in the
following example:

Result = UVRunCommand(c:\WINDOWS\system32\cmd.exe /c dir)

Alternatively, you could make sure there are no embedded spaces anywhere
in your parameters
Or
You could create a batch file on the fly and execute that

HTH


Mike

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Ed Weissman
 Sent: Tuesday, 28 June 2005 06:54
 To: u2-users@listserver.u2ug.org
 Subject: [U2] GPG encryption from within Universe
 
 Anyone using gpg from GNUpg for encryption?  Running IBM 
 Universe on Windows NT.  I downloaded this DOS based encryption 
 software from www.gnupg.org as required by one of our trading 
 partners.  It works perfectly from a DOS command prompt - 
 gpg --armor --recipient XXX -encrypt-file FILENAME etc.etc
 etc, creating FILENAME.asc. in the same directory.  But when 
 I shell out from within Universe using DOS /c gpg etc etc etc, 
 I get an error message cannot find public key.  I suspect this 
 has something to do with either the way I created the keys or 
 with Windows registries.  Anyone run into this problem before? 
 I have a workaround, an endless .bat loop on the server, that
 encrypts a given filename whenever it finds it, but...YECCHH! 
 There's gotta be a better way.  Any ideas?
 
 Ed Weissman
 The Matrix Group
 ed @ematrixsports.com
 ---
 u2-users mailing list
 u2-users@listserver.u2ug.org
 To unsubscribe please visit http://listserver.u2ug.org/
 
The information contained in this Internet Email message is intended
for the addressee only and may contain privileged information, but not
necessarily the official views or opinions of the New Zealand Defence Force.
If you are not the intended recipient you must not use, disclose, copy or 
distribute this message or the information in it.

If you have received this message in error, please Email or telephone
the sender immediately.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/