GnuPG Navision Interface

AdministratorAdministrator Member, Moderator, Administrator Posts: 2,500
edited 2013-10-02 in Download section
GnuPG Navision Interface
GnuPG Navision Interface for Navision in order to be able to automatically encrypt files that were created in Navision.

http://www.mibuso.com/dlinfo.asp?FileID=302

Discuss this download here.

Comments

  • urpokurpok Member Posts: 23
    Hello all

    I have been trying to make this work with my customer's NAV 2009 R2, but so far with little luck.
    I have managed to find out that the first error (Ungültiger Dateiname) referred to the fact that I had to map F:\ to somewhere, since the ocx writes a log file always to this location.

    However, then the problems started. I seem to be unable to encrypt anything at all.
    I have been using functions GnuPg.SetGnuPGFilePath for correct pgp.exe path, but i am unsure if this should contain both the program name and path, or just path.
    Probably it needs both, since if I use function GnuPg.enumPublicKeys -function, i receive error if there is pgp.exe, but no error if there is only path.
    Error is: Der Index der Liste überschreitet das Maximum (5)

    Also, function GnuPg.encryptFile(KeyID, fromfile, tofile) does not seem to work. It writes log file to mapped F:\ disk, but that doesnt help me much.
    Anyone know the right syntax for KeyID? Should it be e-mail address or the key I have in my GNU Privacy Assistant key manager?

    Unfortunately it is very long time when I last used Delphi or Pascal, so it is very hard for me to read the source file, and I do not have Delphi compiler, so I cannot do modifications to the OCX either.
    Please, anyone?
    "There is no spoon."
    --Matrix

    https://navurpo.blogspot.com/?view=classic
  • pebrunspebruns Member Posts: 1
    Did u ever get this to PGP encryption to work? Or find another option?
  • urpokurpok Member Posts: 23
    Hello Pebruns

    Sorry for delay with answering.
    I never found fix for this and decided to use pgp.exe with shell automation object. It worked actually nicely when I got the catch of all strange problems.
    One which caused most troubles was the fact that if you use shell automation object, you cannot use URI paths (\\server\sharedfolder), you first have to map the shared folder, then use mapped drive letter (!).

    Unfortunately I have lately changed job and dont have access to the code anymore. Othervise I would have shared it here, since it really is something worth sharing in my opinion.
    "There is no spoon."
    --Matrix

    https://navurpo.blogspot.com/?view=classic
Sign In or Register to comment.