<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Need Help on GPG on HP-UX in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/need-help-on-gpg-on-hp-ux/m-p/5222046#M467019</link>
    <description>Thank you all for your suggestions and advice. It's working now.</description>
    <pubDate>Wed, 10 Feb 2010 03:52:42 GMT</pubDate>
    <dc:creator>Gaby1110</dc:creator>
    <dc:date>2010-02-10T03:52:42Z</dc:date>
    <item>
      <title>Need Help on GPG on HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-help-on-gpg-on-hp-ux/m-p/5222032#M467005</link>
      <description>Hi, &lt;BR /&gt;&lt;BR /&gt;We have installed GPG (gnupg-2.0.12-ia64-11.31.depot) on our HP-UX 11.31 machine and  trying to run the command as below. Currently there are two issues, the encrypt is giving some message about key and is asking for overwrite.&lt;BR /&gt;&lt;BR /&gt;We want to run this command non-interactively, need to figure out what options we need to use to run in quite mode. &lt;BR /&gt;&lt;BR /&gt;$/usr/local/bin/gpg2 --encrypt -r cefs_prod im090715.txt                     &lt;BR /&gt;Warning: using insecure memory!&lt;BR /&gt;gpg: C0A382A8: There is no assurance this key belongs to the named user&lt;BR /&gt;&lt;BR /&gt;pub  1024g/C0A382A8 2002-04-19 cefs_prod&lt;BR /&gt; Primary key fingerprint: 3CC4 39A2 902E 510F FBE5  0179 CAAD BBB3 9F1A 5AE4&lt;BR /&gt;      Subkey fingerprint: C9F3 BCD9 F44C F499 402D  6528 7C48 F3FE C0A3 82A8&lt;BR /&gt;&lt;BR /&gt;It is NOT certain that the key belongs to the person named&lt;BR /&gt;in the user ID.  If you *really* know what you are doing,&lt;BR /&gt;you may answer the next question with yes.&lt;BR /&gt;&lt;BR /&gt;Use this key anyway? (y/N) y&lt;BR /&gt;File `im090715.txt.gpg' exists. Overwrite? (y/N) y&lt;BR /&gt;&lt;BR /&gt;&amp;lt; oracrmdv@: /home/oracrmdv &amp;gt; &lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;And the syntax we need to work is as below.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;/usr/bin/pgp --encrypt --user \"%s\" --output %s/%s --overwrite %s/%s"&lt;BR /&gt;&lt;BR /&gt;sprintf(pgpCommand,"/usr/bin/pgp --encrypt --user \"%s\" --output %s/%s --overwrite %s/%s"&lt;BR /&gt;                        ,pUserID&lt;BR /&gt;                        ,pDestDirectory&lt;BR /&gt;                        ,pDestFilename&lt;BR /&gt;                        ,pSrcDirectory&lt;BR /&gt;                        ,pSrcFilename);&lt;BR /&gt;        /*&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Please help.&lt;BR /&gt;&lt;BR /&gt;Thanks &lt;BR /&gt;Gaby</description>
      <pubDate>Thu, 28 Jan 2010 04:25:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-help-on-gpg-on-hp-ux/m-p/5222032#M467005</guid>
      <dc:creator>Gaby1110</dc:creator>
      <dc:date>2010-01-28T04:25:46Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help on GPG on HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-help-on-gpg-on-hp-ux/m-p/5222033#M467006</link>
      <description>&lt;!--!*#--&gt;To the extent that I use it at all, which is&lt;BR /&gt;not much, I'm more of a GnuPG 1.x user, so I&lt;BR /&gt;know nothing, but ...&lt;BR /&gt;&lt;BR /&gt;A Google search for the "no assurance"&lt;BR /&gt;message worked for me.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt; [...] Overwrite? (y/N)&lt;BR /&gt;&lt;BR /&gt;"Doctor, it hurts when I do this."&lt;BR /&gt;&lt;BR /&gt;"Don't do that."&lt;BR /&gt;&lt;BR /&gt;If you deleted the intended output file&lt;BR /&gt;first, then I'd expect that you wouldn't get&lt;BR /&gt;the warning/query about overwriting it.</description>
      <pubDate>Thu, 28 Jan 2010 05:26:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-help-on-gpg-on-hp-ux/m-p/5222033#M467006</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2010-01-28T05:26:16Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help on GPG on HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-help-on-gpg-on-hp-ux/m-p/5222034#M467007</link>
      <description>PGP (and its successor gpg) measure the reliability of keys' ownership information by examining the signatures on the keys. A key is trusted if you're signed it yourself, or if the key has a signature from a person you already trust (i.e. you have his/her public key with a trusted signature).&lt;BR /&gt;&lt;BR /&gt;If everyone used PGP/GPG, this would eventually build up into a complex "Web of Trust". &lt;BR /&gt;&lt;BR /&gt;But if you're setting up an "one-to-one" type data transfer, this is not going to happen. You will need to tell GPG that you actually are certain the key belongs to whoever/whatever it's supposed to. This can be done by signing the cefs_prod public key that is in your GPG keyring. You can use a "local signature": it won't be exported along with the key if you later forward the cefs_prod key to someone else, but it is sufficient to make GPG trust the key.&lt;BR /&gt;&lt;BR /&gt;See the GPG documentation on how to sign the key.&lt;BR /&gt;&lt;BR /&gt;For your second problem, there is a wrapper that can convert PGP commands to GPG syntax:&lt;BR /&gt;&lt;A href="http://www.nessie.de/mroth/pgpgpg/" target="_blank"&gt;http://www.nessie.de/mroth/pgpgpg/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;But if you have the source code for your PGP-using application (as evidenced by the sprintf command in your message), it might be easier to change the code to use GPG natively.&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Thu, 28 Jan 2010 07:26:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-help-on-gpg-on-hp-ux/m-p/5222034#M467007</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2010-01-28T07:26:58Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help on GPG on HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-help-on-gpg-on-hp-ux/m-p/5222035#M467008</link>
      <description>Hi MK and Steven,&lt;BR /&gt;&lt;BR /&gt;Thanks for your response.&lt;BR /&gt;&lt;BR /&gt;I don't know much about the GPG. Could you please let me know if it is possible to &lt;BR /&gt;to run this command non-interactively,&lt;BR /&gt;&lt;BR /&gt;$/usr/local/bin/gpg2 --encrypt -r cefs_prod im090715.txt&lt;BR /&gt;&lt;BR /&gt;Is there any options we need to use to run it in quite mode so that we can put it in the script and we sud not get the overwrite option below&lt;BR /&gt;&lt;BR /&gt;Use this key anyway? (y/N) y&lt;BR /&gt;File `im090715.txt.gpg' exists. Overwrite? (y/N) y&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks again,&lt;BR /&gt;&lt;BR /&gt;Gaby</description>
      <pubDate>Mon, 01 Feb 2010 05:45:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-help-on-gpg-on-hp-ux/m-p/5222035#M467008</guid>
      <dc:creator>Gaby1110</dc:creator>
      <dc:date>2010-02-01T05:45:13Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help on GPG on HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-help-on-gpg-on-hp-ux/m-p/5222036#M467009</link>
      <description>Hi&lt;BR /&gt; &lt;BR /&gt;GPG is usually one of two commands used together to accomplish a file transfer, i.e., ftp.  'ftp' however has some drawbacks so its more common to see 'cur' used instead.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://curl.haxx.se/docs/manpage.html" target="_blank"&gt;http://curl.haxx.se/docs/manpage.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://curl.haxx.se/libcurl/c/libcurl-errors.html" target="_blank"&gt;http://curl.haxx.se/libcurl/c/libcurl-errors.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;This is a two step process.  Exchanging keys is the first.  Usually your alternate, i.e., a bank, will have a procedure for you to follow:  Bank of America login id, password, download instructions, execute.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://curl.haxx.se/docs/manual.html" target="_blank"&gt;http://curl.haxx.se/docs/manual.html&lt;/A&gt;</description>
      <pubDate>Mon, 01 Feb 2010 07:27:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-help-on-gpg-on-hp-ux/m-p/5222036#M467009</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2010-02-01T07:27:32Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help on GPG on HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-help-on-gpg-on-hp-ux/m-p/5222037#M467010</link>
      <description>Hi Michael,&lt;BR /&gt;&lt;BR /&gt;Thanks for the reponse. We need to use only GPG on HP-Ux as per our application requirement. &lt;BR /&gt;&lt;BR /&gt;Could you please help me on my issue on HP-UX....&lt;BR /&gt;&lt;BR /&gt;Thanks again,&lt;BR /&gt;Gaby</description>
      <pubDate>Mon, 01 Feb 2010 08:55:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-help-on-gpg-on-hp-ux/m-p/5222037#M467010</guid>
      <dc:creator>Gaby1110</dc:creator>
      <dc:date>2010-02-01T08:55:41Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help on GPG on HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-help-on-gpg-on-hp-ux/m-p/5222038#M467011</link>
      <description>Download here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.connect.org.uk/hppd/cgi-bin/search?package=on&amp;amp;description=on&amp;amp;term=curl" target="_blank"&gt;http://hpux.connect.org.uk/hppd/cgi-bin/search?package=on&amp;amp;description=on&amp;amp;term=curl&lt;/A&gt;</description>
      <pubDate>Mon, 01 Feb 2010 10:40:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-help-on-gpg-on-hp-ux/m-p/5222038#M467011</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2010-02-01T10:40:11Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help on GPG on HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-help-on-gpg-on-hp-ux/m-p/5222039#M467012</link>
      <description>Gaby&lt;BR /&gt;&lt;BR /&gt;Type curl into the HP search engine and see what you get.</description>
      <pubDate>Mon, 01 Feb 2010 10:41:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-help-on-gpg-on-hp-ux/m-p/5222039#M467012</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2010-02-01T10:41:34Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help on GPG on HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-help-on-gpg-on-hp-ux/m-p/5222040#M467013</link>
      <description>&lt;!--!*#--&gt;&amp;gt; GPG is usually one of two commands used&lt;BR /&gt;&amp;gt; together to accomplish a file transfer,&lt;BR /&gt;&amp;gt; i.e., ftp.  [...]&lt;BR /&gt;&lt;BR /&gt;This is nonsense.  GPG (GnuPG) is entirely&lt;BR /&gt;unrelated to file transfers.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://gnupg.org/" target="_blank"&gt;http://gnupg.org/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Download here:&lt;BR /&gt;&amp;gt; [...]&lt;BR /&gt;&lt;BR /&gt;And it's particularly unrelated to cURL.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Type curl into the HP search engine and see&lt;BR /&gt;&amp;gt; what you get.&lt;BR /&gt;&lt;BR /&gt;Do you mean, "even more confused"?&lt;BR /&gt;&lt;BR /&gt;"GnuPG" and "cURL" are spelled differently&lt;BR /&gt;for a reason.  They're different.  They're&lt;BR /&gt;not even related.  (One person _can_ use both&lt;BR /&gt;programs, but they're still unrelated.)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt;  Is there any options we need to use [...]&lt;BR /&gt;&lt;BR /&gt;If GnuPG offers command-line options to solve&lt;BR /&gt;these problems, then I'm not aware of them.&lt;BR /&gt;Matti Kurkela already pointed you to a way to &lt;BR /&gt;stop the "Use this key anyway?" problem.  I&lt;BR /&gt;already suggested a way to avoid the "exists.&lt;BR /&gt;Overwrite?" problem.&lt;BR /&gt;&lt;BR /&gt;Is there something in the GnuPG documentation&lt;BR /&gt;which is unclear?&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.gnupg.org/documentation/index.en.html" target="_blank"&gt;http://www.gnupg.org/documentation/index.en.html&lt;/A&gt;</description>
      <pubDate>Mon, 01 Feb 2010 12:33:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-help-on-gpg-on-hp-ux/m-p/5222040#M467013</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2010-02-01T12:33:41Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help on GPG on HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-help-on-gpg-on-hp-ux/m-p/5222041#M467014</link>
      <description>&lt;!--!*#--&gt;&amp;gt; And it's particularly unrelated to cURL.&lt;BR /&gt;&lt;BR /&gt;Strictly speaking, GnuPG _can_ be built using&lt;BR /&gt;the cURL _library_, to allow some fancy key&lt;BR /&gt;file transfers, so there is actually some&lt;BR /&gt;potential relationship between GnuPG and the&lt;BR /&gt;cURL _library_, and with (key) file&lt;BR /&gt;transfers, but that's a pretty tenuous (and&lt;BR /&gt;optional) connection, I claim.  And&lt;BR /&gt;downloading some cURL kit will provide no&lt;BR /&gt;benefit for the problems cited in the&lt;BR /&gt;original question here.</description>
      <pubDate>Mon, 01 Feb 2010 13:15:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-help-on-gpg-on-hp-ux/m-p/5222041#M467014</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2010-02-01T13:15:50Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help on GPG on HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-help-on-gpg-on-hp-ux/m-p/5222042#M467015</link>
      <description>&lt;!--!*#--&gt;Do you think that downloading a&lt;BR /&gt;cURL kit would fix my problems, too?  Or does&lt;BR /&gt;that work only for GnuPG problems?</description>
      <pubDate>Mon, 01 Feb 2010 19:25:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-help-on-gpg-on-hp-ux/m-p/5222042#M467015</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2010-02-01T19:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help on GPG on HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-help-on-gpg-on-hp-ux/m-p/5222043#M467016</link>
      <description>Guys,&lt;BR /&gt;&lt;BR /&gt;Please be nice to each other and say nice words if you can, other wise, stay quiet.&lt;BR /&gt;We should be teaching these basic values to our kids.  (If you can't say something nice, don't say anything at all)&lt;BR /&gt;&lt;BR /&gt;BTW,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I found the option to overwrite the file, it is --yes&lt;BR /&gt;&lt;BR /&gt;--yes - says yes to most of the questions raised by pgp2. So, if the encrypted file that we are trying to encrpt already exists, we want to overwrite the file and reencrypt again and the option --yes worked like a charm.&lt;BR /&gt;&lt;BR /&gt;Thanks for your time gentlemen.&lt;BR /&gt;&lt;BR /&gt;RK</description>
      <pubDate>Tue, 09 Feb 2010 23:16:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-help-on-gpg-on-hp-ux/m-p/5222043#M467016</guid>
      <dc:creator>Radhakrishnan Nageswara</dc:creator>
      <dc:date>2010-02-09T23:16:14Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help on GPG on HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-help-on-gpg-on-hp-ux/m-p/5222044#M467017</link>
      <description>Shalom all,&lt;BR /&gt;&lt;BR /&gt;Just to be clear here.&lt;BR /&gt;&lt;BR /&gt;GPG is a program that encrypts files. After you encrypt the files, you can transfer them with ftp,sftp,curl, any program you want. It is actually nice to integrate GnuGPG with an email client to enable you to encrypt attachments as they go out(Or perhaps before).&lt;BR /&gt;&lt;BR /&gt;GPG originally seems to be challenging the authenticity of the user, which could be due to the user having a different numeric ID or something else.&lt;BR /&gt;&lt;BR /&gt;Problem seems solved, part of the exchange seems a little bizarre. Perhaps a form of humor I don't understand.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 09 Feb 2010 23:33:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-help-on-gpg-on-hp-ux/m-p/5222044#M467017</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2010-02-09T23:33:22Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help on GPG on HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-help-on-gpg-on-hp-ux/m-p/5222045#M467018</link>
      <description>Yes. We are doing a secure ftp of the file after encryption. We are doing encryption on HP-UX 11i V3 O/S - using all command line options to encrypt the file.&lt;BR /&gt;&lt;BR /&gt;Thanks again.</description>
      <pubDate>Wed, 10 Feb 2010 00:19:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-help-on-gpg-on-hp-ux/m-p/5222045#M467018</guid>
      <dc:creator>Radhakrishnan Nageswara</dc:creator>
      <dc:date>2010-02-10T00:19:34Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help on GPG on HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-help-on-gpg-on-hp-ux/m-p/5222046#M467019</link>
      <description>Thank you all for your suggestions and advice. It's working now.</description>
      <pubDate>Wed, 10 Feb 2010 03:52:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-help-on-gpg-on-hp-ux/m-p/5222046#M467019</guid>
      <dc:creator>Gaby1110</dc:creator>
      <dc:date>2010-02-10T03:52:42Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help on GPG on HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-help-on-gpg-on-hp-ux/m-p/5222047#M467020</link>
      <description>.</description>
      <pubDate>Wed, 10 Feb 2010 03:54:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-help-on-gpg-on-hp-ux/m-p/5222047#M467020</guid>
      <dc:creator>Gaby1110</dc:creator>
      <dc:date>2010-02-10T03:54:21Z</dc:date>
    </item>
  </channel>
</rss>

