Post

Replies

Boosts

Views

Activity

Comment on Unable to set 'encrypt-then-mac' headers in TLS using network.framework
I will open a TSI, but can you confirm whether it is a hex or ASCII string that PSK is expecting in the sec_protocol_options_add_pre_shared_key function? because openssl uses the key in it's hex format (without 0x) so i.e. if I used '616263', would be the a hex representation of 'abc'. therefore ifsec_protocol_options_add_pre_shared_key is expecting ASCII format of the PSK then you should enter 'abc' but '616263' in openssl - but I found that this doesn't work either which is why it would be handy to have more documentation on the function to clarify this, my assumption is that it's expecting ASCII though.
Oct ’21