AIX

 View Only
Expand all | Collapse all

How to install GPG on Unix Aix 7.2

  • 1.  How to install GPG on Unix Aix 7.2

    Posted Sun April 16, 2023 04:15 AM

     Hi Team ,

    i would like to install GPG on some LPAR 7.2 , 

    i have seen some links for downloading the packages and necessary libraries 

    GCC

    GnuPG


    old version can work in 7.2 ?   GnuPG

    AIX Toolbox for Open Source Software : Downloads alpha

     
    seems for the Os 7.2 there is not a specific opensource .
     
     Thanx for the opinions in advance.

     





    ------------------------------
    Massimiliano Toscano
    ------------------------------


  • 2.  RE: How to install GPG on Unix Aix 7.2

    Posted Sun April 16, 2023 06:39 AM
    It's in the IBM aix toolbox, gpgme
    Better yet, install the dnf package, and run dnf install gpgme, and let it sort out dependencies 

    Tom





  • 3.  RE: How to install GPG on Unix Aix 7.2

    Posted Sun April 16, 2023 06:46 AM

    Hi

    i have seen gpgme 

    i have no dnf 
    i have seen script for installing it

    but ..  i have thought , if i install the old version opensource
    http://v14700.1blu.de/aix/index.php?n=Main.Gnupg

    i must integrate only few lbraries

    if not i have to install so many lib

    and in more , gpgpme i dont know if works at the same time of the classic gpg with classic command gpg import etcetc
    or there are different modes and commands or cpypto modes

    thanx , regards



    ------------------------------
    Massimiliano Toscano
    ------------------------------



  • 4.  RE: How to install GPG on Unix Aix 7.2

    Posted Sun April 16, 2023 06:47 AM

    so old 
    http://www.oss4aix.org/download/RPMS/gnupg/gnupg-1.4.22-1.aix5.1.ppc.rpm

    version, it works for aix 7.2 , wright ?



    ------------------------------
    Massimiliano Toscano
    ------------------------------



  • 5.  RE: How to install GPG on Unix Aix 7.2

    IBM Champion
    Posted Mon April 17, 2023 04:58 AM

    Don't mix RPMs from the AIXToolbox and other places.  Even when there is no problem now, it frequently messes up when you start to update packages or add additional packages.

    BTW: That page is from 2017, you're missing almost 6 years of security patches.



    ------------------------------
    José Pina Coelho
    IT Specialist at Kyndryl
    ------------------------------



  • 6.  RE: How to install GPG on Unix Aix 7.2

    Posted Sun April 16, 2023 02:45 PM

     Hi Tom

    have you a good link for the info about how configure dnf in Unix Aix 7.2 ?

    thanx a lot



    ------------------------------
    Massimiliano Toscano
    ------------------------------



  • 7.  RE: How to install GPG on Unix Aix 7.2

    Posted Mon April 17, 2023 04:25 AM
    Edited by Stephan Dietl Mon April 17, 2023 04:26 AM

    Hello!

    Not Tom here, but glad to help: https://www.ibm.com/support/pages/node/6585774

    Packages alphabetically, Letter G: https://www.ibm.com/support/pages/node/883796#G


    Ciao,

    Steve



    ------------------------------
    Stephan Dietl
    ------------------------------



  • 8.  RE: How to install GPG on Unix Aix 7.2

    Posted Mon April 17, 2023 08:38 AM
    I should be on the download page 
    But yeah, I can get you what you need
    I'm in a meeting all day today, so it'll be later this afternoon before I can get to it
    But it was pretty straight forward

    If you don't have yum installed, I assume you don't , then run the script with -d, and that's it
    Now, if you have a crap-ton of rpm's already installed, you may run into dependency he'll just trying to get dnf installed.  
    We did rpm -e $(rpm -qa)
    Nuked everything and then installed dnf, (do the dnf update), then used dnf to reinstall what we really wanted (zip, unzip, less, rsync, gpgme.....)

    We did nuke a few vendor packages that we had to hand install because they aren't in the toolbox, but, minor work

    Tom





  • 9.  RE: How to install GPG on Unix Aix 7.2

    Posted Tue April 18, 2023 10:49 AM





  • 10.  RE: How to install GPG on Unix Aix 7.2

    Posted Tue April 18, 2023 11:52 AM

    Here's the link for dnf package with all its dependencies.
    https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/ezinstall/ppc/dnf_aixtoolbox.sh

    recommend having openssl up to date for python 3 dependencies.   Those I don't know if I can point you to those directly, but you should have links from your regular maintenance processes...

    Tom



    ------------------------------
    Tom McGivern
    ------------------------------



  • 11.  RE: How to install GPG on Unix Aix 7.2

    Posted Tue April 18, 2023 01:50 PM

    https://www.ibm.com/support/pages/downloading-and-installing-or-upgrading-openssl-and-openssh



    ------------------------------
    minesh patel
    ------------------------------



  • 12.  RE: How to install GPG on Unix Aix 7.2

    Posted Wed April 19, 2023 01:48 AM

    with GPGME ..

     i think i can use PGP commands for importing key , wright ?



    ------------------------------
    Massimiliano Toscano
    ------------------------------



  • 13.  RE: How to install GPG on Unix Aix 7.2

    Posted Tue April 18, 2023 09:31 AM

    some of the open source software on tool box are not OS specific. They work for AIX.



    ------------------------------
    minesh patel
    ------------------------------



  • 14.  RE: How to install GPG on Unix Aix 7.2

    Posted Tue April 18, 2023 11:12 AM
    On Sun, Apr 16, 2023 at 08:14:36AM +0000, Massimiliano Toscano via IBM Community wrote:
    > Hi Team ,
    >
    > i would like to install GPG on some LPAR 7.2 ,

    Massimiliano,

    With all the dependencies, have you considered using SSH and calling
    out to a Linux system with the latest GnuPG installed?

    ------------------------------------------------------------------
    Russell Adams Russell.Adams@AdamsSystems.nl
    Principal Consultant Adams Systems Consultancy
    https://adamssystems.nl/




  • 15.  RE: How to install GPG on Unix Aix 7.2

    Posted Tue April 18, 2023 11:47 AM

    If it's a production environment I wouldn't recommend adding a dependency of an external system.

    If there aren't any non-toolbox rpms installed, it really isn't a big deal to get DNF installed and then install from there.
    or, just download gpgme from the toolbox and start down the rpm -qR {packagename}  path to hell

    Tom



    ------------------------------
    Tom McGivern
    ------------------------------



  • 16.  RE: How to install GPG on Unix Aix 7.2

    Posted Tue April 18, 2023 01:52 PM

     Hi Russel

    you intend https://gnupg.org/download/ this package is good for all the Unix os included Aix ?




    ------------------------------
    Massimiliano Toscano
    ------------------------------



  • 17.  RE: How to install GPG on Unix Aix 7.2

    Posted Tue April 18, 2023 02:07 PM
    On Tue, Apr 18, 2023 at 05:52:15PM +0000, Massimiliano Toscano via IBM Community wrote:
    > you intend https://gnupg.org/download/ this package is good for all the Unix os included Aix ?

    No. I'm suggesting you avoid loading DNF and all the dependencies for
    GnuPG on AIX. Just look how many responses you got for installing DNF,
    fixing openssl, python, etc. If you aren't paying for the IBM Open
    Source support contract addition, I wouldn't install it.

    Instead use SSH to call out to a Linux system to do GPG. Clearly the
    Linux box must be trusted and have SSH keys configured.

    cat myfile | ssh serviceaccount@linuxbox gpg --encrypt ... | gzip -c > myfile.gpg.gz

    Or transfer it to a Linux box to do your processing.

    Better yet instead of doing file transfers and transforms on AIX, have
    your applications team get a tool like MoveIt. That can pull the file
    from AIX, do transforms (encrypt, zip, etc), and push it to the vendor
    SFTP site. There are many tools out there because it's a common use.

    Good luck.

    ------------------------------------------------------------------
    Russell Adams Russell.Adams@AdamsSystems.nl
    Principal Consultant Adams Systems Consultancy
    https://adamssystems.nl/




  • 18.  RE: How to install GPG on Unix Aix 7.2

    Posted Wed April 19, 2023 01:47 AM

     if i install GPG, i think i can use PGP commands for importing key , wright ?



    ------------------------------
    Massimiliano Toscano
    ------------------------------



  • 19.  RE: How to install GPG on Unix Aix 7.2

    Posted Wed April 19, 2023 07:47 AM
    As I understand it, yes