Endpoint Encryption

 View Only
  • 1.  Warning: PGPsdk running in local mode, Linux RedHat, CommandLine

    Posted Jun 17, 2013 07:08 PM

    Regardless of the command being issued... I get PGPsdk running in local mode... and the command takes FOR EVER to execute.

    $ date; pgp --version; date

     

    Mon Jun 17 15:50:22 PDT 2013
    PGP Command Line 10.1 build 52
    Copyright (C) 2010 PGP Corporation
    All rights reserved.
    Mon Jun 17 15:51:21 PDT 2013
     
    $ pgp --list-keys
    Mon Jun 17 15:58:52 PDT 2013
    Warning: PGPsdk running in local mode.
     Alg  Type Size/Type Flags   Key ID     User ID
    ----- ---- --------- ------- ---------- -------
     RSA4 pair 1024/1024 [VI---] 0x79E83081 *************
    *RSA4 pair 2048/2048 [VI---] 0xC78538B8 *************
     DSS  pub  2048/1024 [-----] 0xBE754D1C ***********
    3 keys found
    Mon Jun 17 15:59:51 PDT 2013

     

    $ rpm -qa | egrep -i pgp
    pgpcmdln-10.1.0.52-52
     
    $ which pgp
    /opt/pgp/bin/pgp
     
    $ file $(which pgp)
    /opt/pgp/bin/pgp: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.4.0, dynamically linked (uses shared libs), not stripped
     
    $ uname -a
    Linux myhostname 2.6.18-308.11.1.el5 #1 SMP Fri Jun 15 15:41:53 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux
     
    What can I do to correct this situation?

     



  • 2.  RE: Warning: PGPsdk running in local mode, Linux RedHat, CommandLine

    Posted Jun 18, 2013 01:53 AM

    I'm not sure why you are running in local mode.  Is "pgp-agent" in your path, and do you have execute permissions on it?

    As for the delay issue, if you set

     

    ulimit -n 2000
    
    does the issue go away?
     


  • 3.  RE: Warning: PGPsdk running in local mode, Linux RedHat, CommandLine

    Posted Jul 22, 2013 06:19 PM

    pgp-agent IS in the path, as it is in the same directory as the 'pgp' executable itself.  It also has the same protections as 'pgp'

    Changing ulimit does nothing for me either.

     



  • 4.  RE: Warning: PGPsdk running in local mode, Linux RedHat, CommandLine

    Posted Jul 25, 2013 01:34 AM

    If adjusting ulimit doesn't help, then this is not an issue we've seen before.  I'm curious, if you run with "--local-mode" explicitly, do you still see the delay?

    Also, try using strace, and see if that can help you determine the problem with pgp-agent and where the delay is occurring.