Re: [MSEide-MSEgui-talk] Is crossplatform in-memory file or file descriptor possible ?

2012-04-21 Thread Martin Schreiber
On Saturday 21 April 2012 21:52:11 Ivanko B wrote: > It's best to decrypt keys etc sensitive session data to a temporary > in-memory files. > Say we have encrypted private keys, certificates etc but need to call > OpenSSL (Stunnel) etc expecting the key be present by files. So, we'll > have to decr

Re: [MSEide-MSEgui-talk] Is crossplatform in-memory file or file descriptor possible ?

2012-04-21 Thread Ivanko B
It's best to decrypt keys etc sensitive session data to a temporary in-memory files. Say we have encrypted private keys, certificates etc but need to call OpenSSL (Stunnel) etc expecting the key be present by files. So, we'll have to decrypt the files thus there'll be plain versions of them on file

Re: [MSEide-MSEgui-talk] Is crossplatform in-memory file or file descriptor possible ?

2012-04-21 Thread Martin Schreiber
On Saturday 21 April 2012 19:05:48 Ivanko B wrote: > me mean operating on decrypted private keys with software expecting > them to be files (easy to steal ). > The encrypted key should be decrypted by OpenSSL which asks for the key-key, I don't know. You probably should ask a security expert. Mar

Re: [MSEide-MSEgui-talk] Encrypted file streams

2012-04-21 Thread Martin Schreiber
On Saturday 21 April 2012 19:02:17 Ivanko B wrote: > >> Can it be done optionally in the MSEgui DLL loader? (smth like > >> "opt_appdir4dll") > > > > I don't like it, too special. Please use initializeopenssl(). The default > > sonames are in msessl.pas: > > " > > Which is the correct REinitializat

Re: [MSEide-MSEgui-talk] Is crossplatform in-memory file or file descriptor possible ?

2012-04-21 Thread Ivanko B
me mean operating on decrypted private keys with software expecting them to be files (easy to steal ). 2012/4/21, Martin Schreiber : > On Saturday 21 April 2012 17:06:18 Ivanko B wrote: >> so that can be used as a way of passing password to OpenSSL. >> Mainly needed to provide secure way of pass

Re: [MSEide-MSEgui-talk] Encrypted file streams

2012-04-21 Thread Ivanko B
>> Can it be done optionally in the MSEgui DLL loader? (smth like >> "opt_appdir4dll") >> > I don't like it, too special. Please use initializeopenssl(). The default > sonames are in msessl.pas: > " Which is the correct REinitialization sequence ? -

Re: [MSEide-MSEgui-talk] Encrypted file streams

2012-04-21 Thread Martin Schreiber
On Saturday 21 April 2012 17:57:06 Ivanko B wrote: > > For SSL dll's call initializeopenssl() with the wanted dll filepaths > > for "libssl32.dll" and "libeay32.dll". > > Can it be done optionally in the MSEgui DLL loader? (smth like > "opt_appdir4dll") > I don't like it, too special. Please use

Re: [MSEide-MSEgui-talk] Encrypted file streams

2012-04-21 Thread Martin Schreiber
On Saturday 21 April 2012 17:57:06 Ivanko B wrote: > > I don't know win64 32bit dll-handling and where they must be stored. > > Something like WOW64 or so? Please ask Miccrosoft. ;-) > > c:\Windows\System32\ for win32 > and > c:\Windows\SysWOW64\ for x64 > > SSLeay32 & libeay32 are present in both

Re: [MSEide-MSEgui-talk] Is crossplatform in-memory file or file descriptor possible ?

2012-04-21 Thread Martin Schreiber
On Saturday 21 April 2012 17:06:18 Ivanko B wrote: > so that can be used as a way of passing password to OpenSSL. > Mainly needed to provide secure way of passing private key after > decrypting encrypted file presenting the key. > I don't understand, please explain. Maybe you should use asymmetric

Re: [MSEide-MSEgui-talk] Encrypted file streams

2012-04-21 Thread Ivanko B
> I don't know win64 32bit dll-handling and where they must be stored. > Something like WOW64 or so? Please ask Miccrosoft. ;-) > c:\Windows\System32\ for win32 and c:\Windows\SysWOW64\ for x64 SSLeay32 & libeay32 are present in both these directories (both win32 & x64 client versions are install

Re: [MSEide-MSEgui-talk] Encrypted file streams

2012-04-21 Thread Martin Schreiber
On Saturday 21 April 2012 14:02:10 Ivanko B wrote: > Doesn't work on win7 x64 - there's a complain "Can't find > SSLeay32.dll.." on closing a project having encrypted statfile of its > main form (see the attached snapshot). Me copied STunnel's DLL to 1) > C:\Windows\System32\ and the application d

[MSEide-MSEgui-talk] Is crossplatform in-memory file or file descriptor possible ?

2012-04-21 Thread Ivanko B
so that can be used as a way of passing password to OpenSSL. Mainly needed to provide secure way of passing private key after decrypting encrypted file presenting the key. -- For Developers, A Lot Can Happen In A Second.

Re: [MSEide-MSEgui-talk] Bug shortcut key in tmainmenu(widget)

2012-04-21 Thread Martin Schreiber
On Saturday 21 April 2012 09:08:17 wahono sri wrote: > > Aha, you expect that the submenu of menu item 2 will be opened by F2? > > This is as designed. Shortcuts fire the action of the corresponding menu > > item, they don't show submenus. > > > > Martin > > How to crack it? he he > I need this sho

Re: [MSEide-MSEgui-talk] Bug shortcut key in tmainmenu(widget)

2012-04-21 Thread wahono sri
> Aha, you expect that the submenu of menu item 2 will be opened by F2? This is > as designed. Shortcuts fire the action of the corresponding menu item, they > don't show submenus. > > Martin How to crack it? he he I need this shortcut for POS form. Thanks