klali / ha-plejd

Plejd component for Home Assistant
Apache License 2.0
69 stars 16 forks source link

Crypto key for iOS? #7

Closed iCarl closed 5 years ago

iCarl commented 5 years ago

Is rhere a known way to extract a crypto key for iOS?

iCarl commented 5 years ago

I think I managed to extract it by download a local backup of my iPhone. The cryptokey cointains of segments of two characters followed by a dash. Should the dashes be ignored in the configuration.yaml? I also seem to have two separate cryptokeys, is this normal?

iCarl commented 5 years ago

I managed to get it to work!

klali commented 5 years ago

Can you provide instructions for others using ios devices? Did you manage to recover a site json file as well or was it stored in a different format?

iCarl commented 5 years ago

I opened a iPhone backup using iBackup Viewer. Selected raw files, look for AppDomainGroup-group.com.plejd.consumer.light. AppDomainGroup-group.com.plejd.consumer.light/Documents there should be two folders, The folder that isn't named ".config" contains a .site-file with the crypto key.