🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: pl.comp.lang.vbasic
1 messages
1 total messages Started by "Nieznany" Mon, 30 Jan 2012 18:54
Problem z szyfrowaniem GnuPG w apliakcji net
#102395
Author: "Nieznany"
Date: Mon, 30 Jan 2012 18:54
36 lines
1363 bytes
Szanowni
 Mam apliakcj�, kt�ra dzia�a bezb��dnie na localhost. Niestety po
uruchomieniu na web serwer nie dzia�a szyfrowanie. Do szyfrowania plik�w
u�ywam GnuPG i poni�szego kodu. Na localhost dzia�a ale po uruchomieniu na
webserwerze (nawet na koncie admina) nie uruchamiamia si� szyfrowanie.
 Czy mo�e kto� z was potrafi powiedzi� w czym mo�e tkwi� problem? Aplikacja
publikowana jest na Windows server 2008.
 Wygl�da jakby nie startowa� proces p. Na lokalhost mam t� sam� wersj� GnuPG
i te same klucze odpowiadaj�ce mailom a Arguments.
Mo�e jakie� specjalne konfiguracje s� niezb�dne? W jaki spos�b mo�na
spr�bowa� zweryfikowac w czy tkwi problem?
GnuPGExeLoc to parametr wskazuj�cy �cie�k� do pliku gpg.exe


Dim startInfo As New ProcessStartInfo()

Dim p As New Process()
 startInfo.UseShellExecute = False
 startInfo.CreateNoWindow = True
 startInfo.WindowStyle = ProcessWindowStyle.Hidden
 startInfo.FileName = ConfigurationManager.AppSettings("GnuPGExeLoc")
 startInfo.Arguments = "--recipient " & mail & " --armor --encrypt " &
sciezka & nazwa_pliku
 Try
 p = Process.Start(startInfo)
 'oczekiwanie na zakonczenie procesu
 p.WaitForExit()
 Catch ex As Exception
 Finally
 p.Close()

End Try

--
Wys�ano z serwisu Usenet w portalu Gazeta.pl -> http://www.gazeta.pl/usenet/

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads