Wireshark-commits: [Wireshark-commits] rev 54893: /trunk/ /trunk/epan/dissectors/: packet-pkcs12.c
Date: Wed, 22 Jan 2014 04:27:15 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=54893

User: guy
Date: 2014/01/22 04:27 AM

Log:
 To quote section B.5 "Keys for password integrity mode" of PKCS #12
 v1.1: Personal Information Exchange Syntax:
 
 	http://www.emc.com/emc-plus/rsa-labs/pkcs/files/h11301-wp-pkcs-12v1-1-personal-information-exchange-syntax.pdf
 
 "When password integrity mode is used to protect a PFX PDU, a password
 and salt are used to derive a MAC key.  As with password privacy mode,
 the password is a Unicode string, and the salt is a byte string."
 
 So, not having found any other references to salts as text strings, copy
 it with tvb_memdup(), not tvb_get_string().

Directory: /trunk/epan/dissectors/
  Changes    Path               Action
  +1 -1      packet-pkcs12.c    Modified

Directory: /trunk/asn1/pkcs12/
  Changes    Path                        Action
  +1 -1      packet-pkcs12-template.c    Modified