Re: [twsocket] Encrypt/decrypt file with RSA

2018-10-04 Thread Angus Robertson - Magenta Systems Ltd
> It is my first attempt to encrypt and decrypt a short message in > a file with RSA. The OverbyteIcsPemTool does this, look on the Extras menu. There are various functions for encryption and decryption in OverbyteIcsSslX509Utils, not currently built as a component, but all can be tested from

[twsocket] Encrypt/decrypt file with RSA

2018-10-04 Thread Nicolas MARCHAND
Hello, First of all, and especially Angus, I thank you and I congratulate you for the impressive work you have done for the compatibility with OpenSSL 1.1.1 ! It is my first attempt to encrypt and decrypt a short message in a file with RSA. I would like to create a private key/public PEM

Re: [twsocket] Sending data from multiple threads on SSL doesn't work

2018-10-04 Thread Angus Robertson - Magenta Systems Ltd
> It happens if I'm sending from a thread or even only from the > main thread (from a timer), please check this demo app: I look very briefly at your demo, it uses the non-thread aware socket server, and creates one single thread to send data to all clients, with no locking attempts or even a

Re: [twsocket] Sending data from multiple threads on SSL doesn't work

2018-10-04 Thread Angus Robertson - Magenta Systems Ltd
> I didn't change any ICS code, but only my derived class... do you > think that by always adding to the send buffer PutDataInSendBuffer) > and posting FD_WRITE instead of calling TryToSend could cause any > issues? There are often several ways of doing something, if extensive testing does not