[req] Support for WayVNC protocol
OFF: Sorry, my bad, Of course I wanted to thank :-) I've just clicked the Send button accidentally too soon after Copy-paste. (Phone rang and did not check my post again.) I do appreciate the great work you are doing with this component! I only tried to suggest a possible enhancement (with too raw sentences). The main part of my prev. msg. is the CODE !!! because there is nowhere to find it, and wanted to share. I've just tested it and it works great this way. (I guess not too many of us know about...
Thank you very much for the hint!!! Of course it would have been nice, if your code would: 1. auto-recognise if it has '-----' inside it, 2. and if yes, would try to analyse if it's PKCS#8 (containing: _BEGIN_PRIVATE_KEY ) 3. or PKCS#1 (containing: _BEGIN_RSA_PRIVATE_KEY) 4. and auto-convert it. uses basenenc, fppem, ... HTTP.Sock.SSL.PrivateKey := basenenc.GetRawStringFromBytes(fppem.PemToDER( priv_key_string , _BEGIN_PRIVATE_KEY, _END_PRIVATE_KEY )); HTTP.Sock.SSL.Certificate := basenenc.GetRawStringFromBytes(fppem.PemToDER(...
Thank your for the hint! Of course it would have been nice, if your code would: 1. auto-recognise if it has '-----' inside it, 2. and if yes, would try to analyse if it's PKCS#8 (containing: _BEGIN_PRIVATE_KEY ) 3. or PKCS#1 (containing: _BEGIN_RSA_PRIVATE_KEY) 4. and auto-convert it. uses basenenc, fppem, ... HTTP.Sock.SSL.PrivateKey := basenenc.GetRawStringFromBytes(fppem.PemToDER( priv_key_string , _BEGIN_PRIVATE_KEY, _END_PRIVATE_KEY )); HTTP.Sock.SSL.Certificate := basenenc.GetRawStringFromBytes(fppem.PemToDER(...
To be more precise: I've forgot about ssl_openssl11, because it seemed it is not updated to work with OpenSSL3.x, so I had to close that option out. (I had to think a few moments to realize that. It was a month ago and I've red sooooo many things about SSL and things like that, it mixed all up a bit.)
Oh, sorry, I didn't know there are more of them... uses ssl_openssl; Is that wrong? It seems it loads libcrypto-3.dll and libssl-3.dll well.
latest OpenSSL (3.0.2) Binary downloaded from here
Sent 333.33 CZK donation to compensate a few minutes of your time to look into this. (Sorry could not send more, but I'm a simple programmer working alone from Budapest.)