- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Encrypting a character string
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2010 09:55 PM
07-20-2010 09:55 PM
Encrypting a character string
Is there any program or tool available in HPUX 11.23, where I can encrypt a character string using a "public key" generated by some 3rd party software.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2010 05:14 AM
07-21-2010 05:14 AM
Re: Encrypting a character string
If the 3rd party software is called "PGP", then the compatible GnuPG could be used for encryption. It is available for free in the HP-UX Internet Express kit. The latest version for 11.23 is downloadable from software.hp.com:
https://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXIEXP1123
The Internet Express kit DVD is also included in most HP-UX installation media kits, so you probably already have it.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2010 07:40 PM
07-21-2010 07:40 PM
Re: Encrypting a character string
Thnks for ur reply. The 3rd party software is not GnuPg . Customer has informed us that they will provide us the public key generated by their software and we have to use it to encrpyt some string (eg: some passwd) and sennd them the encrypted text.
I have GnupG installed in my server. Plz let me know how can this string encryption be achieved using the gnupg sftwr.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2010 07:56 PM
07-21-2010 07:56 PM
Re: Encrypting a character string
> [...] their software [...]
Are we supposed to guess what it is, or do
you think that you might tell us someday?
> [...] Plz let me know how [...]
Please supply some useful information.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2010 08:32 PM
07-21-2010 08:32 PM
Re: Encrypting a character string
The name of that sftwr is not important (neither to me nor it should be to you). If you read my above post carefully, then you will know I am not asking about compatibility of gnupg with some 3rd party sftwr.
I just wan to know how this gnupg encryption is achieved in general using a public key of the recepient..
If you could provide me the command I would check if it works. I just want to reach on a "YES" or "NO" conclusion with the customer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2010 09:58 PM
07-21-2010 09:58 PM
Re: Encrypting a character string
> (neither to me nor it should be to you).
> [...]
Ok, then yes, GnuPG is compatible with some
third-party software. (It _is_ third-party
software.) It's probably not compatible with
_all_ third-party software.
> [...] I just want to reach on a "YES" or
> "NO" conclusion with the customer.
And I just want to know what you're talking
about, if you know, yourself.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2010 10:23 PM
07-21-2010 10:23 PM
Re: Encrypting a character string
DO u really know the command.. I doubt that..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2010 03:47 AM
07-22-2010 03:47 AM
Re: Encrypting a character string
> that..
Which "the command" are you talking about
here?
If you want information about GnuPG, then you
might try going to the source:
http://gnupg.org/
http://www.gnupg.org/documentation/index.en.html
One advantage in reading the documentation is
that it doesn't require you to explain to
anyone else what you really want.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2010 04:03 PM
07-22-2010 04:03 PM
Re: Encrypting a character string
> (neither to me nor it should be to you).
> [...]
It definitely should be. Not all public key encryption is the same.
GnuPG is compatible with PGP and other PGP-compatible software, nothing else.
It can encrypt with properly-formatted PGP or GnuPG public keys, and nothing else.
If you still insist that the name of "some 3rd party software that is not GnuPG" is not important, then you must be able to provide a lot of details about the format of the private key and the type of public key algorithm used. It is usually way more difficult to get all these details than the name of the software. Providing the name of the software would also allow me, Steven or anyone else to Google for any missing details.
For example: is the public key algorithm RSA, DSA, Diffie-Hellman or something else?
How is the key file packaged: is it just raw key data, or is it in some standard format: PGP, PEM, DER, PKCS#12 or something else?
The OpenSSL library/toolkit (also available for free at software.hp.com) supports many key formats and encryption algorithms, but to use it effectively, you must know exactly the type of algorithm you need to use. It's a toolkit, not an application.
The OpenSSL toolkit was originally developed for implementing SSL/TLS support, but since then it has become a more general package of open-source encryption algorithms.
If you use the wrong algorithm for encryption, the encryption may be successful, but the recipient of the data gets only meaningless gibberish when s/he tries to decrypt it using the correct algorithm.
Some encryption applications also include some headers, checksums or other metadata in the encrypted data. If you cannot produce these correctly, the 3rd party software will most likely refuse to decrypt it, with an error message like "encrypted data is in wrong format or corrupted".
Without knowing the name of the 3rd party application, it's impossible to know what kind of metadata (if any) it might require.
MK