Is there an open-source openVMS license PAK generator that can be compiled under UNIX?

David
David used Ask the Experts™
on
I want to be able to automate the generation of  product authorization keys for my company's software so it can run as a CGI script behind a web server.  My ISP is a LINUX shop.  Well, you can guess where this is going ... Is there an open-source version of pakgen that compiles under LINUX so that I can generate alpha and Itanium license PAKs as a native CGI program?   I want to let customers fill out a form that includes some authentication info and a serial number, use that as info to generate a TERMINATION_DATE and AUTHORIZATION string based on what they fill in.  Then have it run a compiled LINUX version of PAKGEN and then send them the DCL to install the license.

I know that I can write some code that takes the form, sends it to me, and I route it to a VMS box, but that is not practical as we don't want to tie up an OpenVMS system.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Software Engineer
Distinguished Expert 2018
Commented:
I never heard of it. Would be nice though....

How about the following:
Run a webserver like WASD (http://wasd.vsm.com.au)  only for the cgi part the need to generate the data.
And handle it there. You don't need a big box for it. And only the form post needs to go there.
DavidPresident
Top Expert 2010

Author

Commented:
Excellent idea, it never occurred to me that there would be ISPs that actually use VMS to host sites, so I contacted vsm.com.au and asked them if they would host the licensing page and the PAKGEN logic.

For what it is worth, I also googled up a VMS emulator that runs under LINUX with info at link below, but it probably is so dated and there is so much work involved to set it up then it is just easier to farm out a cgi gateway to a VMS-based ISP.

Here is link in case anybody cares.
http://linux.derkeiler.com/Newsgroups/alt.os.linux.redhat/2005-02/0152.html

nociSoftware Engineer
Distinguished Expert 2018

Commented:
Regarding simulators....

SIMH is still a valid emulator for VAX but there are no
stable AXP or IA64 simulators that can run VMS....
there is the ES45 AXP-simulator but it isn't stable (it hangs on my systems), and the builder is now contracted to build a commercial emulator for an emulator company.

If your PAKGEN runs on VAX you can run SIMH.
Charon has a commercial VAX & AXP emulator.

Fundamentals of JavaScript

Learn the fundamentals of the popular programming language JavaScript so that you can explore the realm of web development.

Commented:
Stromasys VAX/Alpha and IA64 emulators work well. We have a number of clients running VAX and Alpha hardware emulated on Microsoft Windows systems. If interested, you are welcome to check the online store or check testimonials from many of our clients.

http://envysys.com


DavidPresident
Top Expert 2010

Author

Commented:
Thanks - an emulator is overkill, as all I want to do is generate licenses on demand, that is why it would have been great to just have something like a packgen.c program I could compile and run under linux ... but as I think about it, no way would HP authorize that because anybody with the source code could generate their own keys for HP products.

Unless, of course, their encryption keys are unique and HP designed it that way from the beginning, so they could issue just a key file to a software publisher so they couldn't generate licenses for anything other than their software.

So moot point.  For my needs, best way to solve the problem involves having an ISP do it for me as a CGI program. No reason to  purchase an emulator when one can still get an old Alpha-based computer suitable for my needs in exchange for just hauling it off :)

Commented:
Ah...
HP has a tool that might be of interest.
http://h71000.www7.hp.com/faq/vmsfaq_015.html

Many software developers desire to use a unique hardware ID to "lock" a given copy of their product to a specific system. Most VAX and Alpha systems do not have a unique hardware-set "system ID" that can be used for this purpose. HP OpenVMS products do not use hardware IDs in the licensing methods, as many users consider a hardware-based licensing scheme to be negative attribute when considering software purchases.

HP OpenVMS uses a software-based system called the License Management Facility (LMF). This provides for software keys (Product Authorization Keys or PAKS) which support capacity and user-based license checking. HP offers an LMF PAK Generator to CSA members---see Section 2.13.
nociSoftware Engineer
Distinguished Expert 2018

Commented:
(I meant to say opensource simulators before).

@TimPeer from the question I deduced that he already has that tool as it is named PAKGEN and is mentioned. The problem being the route to generate temp licences for some project.


DavidPresident
Top Expert 2010

Author

Commented:
Thank's Tim  .. but this the the software facility I am using. The problem is that the program that actually generates the license pak only runs under VMS, so if I want to automate the process, I am stuck with using a VMS system outside the firewall.. Thank's for contributing, however, I am doing last step of the port now anyway, so the link you provided will save me some work.  

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial