Hello Sergei,I tried to make a generalized solution from your patch but was not able to get it working.
As far as I know, you are already running a OXI instance using utf-8 and I am heavily interessted in how you got the serialization stuff on the socket interface working. I tried all kinds of flags and settings but I always get problems when I write data to the socket or filesystem. The multibyte characters are expanded or packed so the length used in the simple serialization protocol is wrong.
My proposal would be to replace the current serialization for all printable data to use the already implemented JSON Serializer and use a base64 encoding to transport binary data (or even switch the whole session to the Serialize::Fast module which uses perl storables).
Might you share some of your experience regards Oliver -- Protect your environment - close windows and adopt a penguin! PGP-Key: 3B2C 8095 A7DF 8BB5 2CFF 8168 CAB7 B0DD 3985 1721
smime.p7s
Description: S/MIME Cryptographic Signature
------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________ OpenXPKI-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openxpki-devel
