arthurdejong / python-pskc

Python module for handling PSKC files.

Home Page:https://arthurdejong.org/python-pskc/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pskc:secret

laulaufer opened this issue · comments

Hello,
nice tool, i can play with it. works well except on key'svalue.

in the file i don't have secret defined like this
pskc:Secret
pskc:PlainValuexxxxxxxxxxxxxxxxx/pskc:PlainValue,

but
pskc:Secret
pskc:EncryptedValue
<xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#aes128-cbc" />
xenc:CipherData
xenc:CipherValuetl7+c85vvvvvvvvvvvvvxMfPvg20ypjGBj/Q/UFihpJpEcccccccccccQD/xenc:CipherValue
/xenc:CipherData
/pskc:EncryptedValue
pskc:ValueMACGEzcOEaavasFkccccccccccccKfP3aM=/pskc:ValueMAC
/pskc:Secret

and then it can not provide any information .. and you cannot create xml file like this.

Laurent

Can you provide an XML file to illustrate what you mean? The Github comment got messed up a bit.

Are you trying to read an existing PSKC file or do you want to create one?

Hello Arthur,
Sorry i was not available....
yes it is an existing PSKC file. please find an example attached.
Regards,
Laurent

On Fri, Mar 25, 2016 at 6:33 PM, Arthur de Jong notifications@github.com
wrote:

Can you provide an XML file to illustrate what you mean? The Github
comment got messed up a bit.

Are you trying to read an existing PSKC file or do you want to create one?


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#3 (comment)

I think Github dropped your attachment. I think Github requires you put it in a zip file but also feel free to email it to me privately.

Closing this issue for now. Feel free to re-open or open a new issue with any parsing issues you may have.