Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
PGP Decryption via COM Server
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01129606
Message ID:
01129619
Vues:
12
>>Scenario. File server W2003k server hosting the data / code for a VFP app... One of the processes is to get a download of client data via FTP.
>>The system copies the FTP file down locally no problem.
>>
>>Because the PGP encryption/decryption has the keys on the server and not all the local user's machines, I have a COM server invoked from the server via the VFP app. The COM server is set to be launched as the specific user the PGP was installed and keys created with... the COM server then calls a BATCH file to call PGP with the necessary info / params / etc to do the decryption. The batch file itself works when tested manually. It also RUNs when called by the COM process via RUN /n... However, even though the COM server is set to run under the "SPECIFIC USER". Yet the decryption fails when called from any other users machine -- UNLESS!!!! I am remote-desktop connected to that server under the given user ID, then the decryption works from other user's machine. Then, if I logoff via remote desktop, let the system cache clear out / whatever, and then the user runs the function to decrypt the file, it fails decrypting stating it cant find the given public/private keys...
>>
>>To test the "USER" the COM server is at time of decryption, I even do a STRTOFILE() of the user ID to a temp file for me to look at, and the correct local machine (of the PGP / server ) IS properly noted..
>>
>>The data is encrypted using GnuPGP (a PGP equivalent freeware). As with such encryption/decryption systems, there are public and private keys, and apparently SPECIFIC to the user and not generic to the installed machine -any user.
>>
>>Does this make sense to anyone? Has anyone encountered a similar
>
>Hi Don,
>
>This is not an answer to your question, but rather a question. I think I may need to implement PGP. Can you post a sample how do you call PGP to encrypt file and to decrypt it?
>
>Thanks in advance.

ie: You are in need of using PGP encryption/decryption for your stuff???
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform