[vlc-devel] dcp module: read encrypted DCPs

Rémi Denis-Courmont remi at remlab.net
Wed Apr 9 17:41:33 CEST 2014


Le mercredi 9 avril 2014, 14:59:52 Simona-Marinela P. a écrit :
> Hello all!
> 
> As you've seen in my previous attempt, I am trying to make the dcp module
> read encrypted DCPs.
> 
> The AES key with which the MXF files are encrypted is carried in a KDM
> file, but it is itself encrypted with RSA. So I have to use a private key
> to decrypt it. My problem now is at reading this private key from its PEM
> file.

PEM is just base64-escaped DER. Nettle supports DER-encoded RSA keys just fine, 
though I don't think it can read PEM files directly.

-- 
Rémi Denis-Courmont
http://www.remlab.net/




More information about the vlc-devel mailing list