dmke / inform-inspect

Ubiquiti Unifi Inform Packet Inspector
MIT License
12 stars 3 forks source link

New encryption scheme #1

Open mensi opened 4 years ago

mensi commented 4 years ago

The new encryption scheme is aes-gcm, 128bit block size, 128bit IV (the same IV as before). The 40 bytes long unencrypted header before the encrypted data is passed as AAD into GCM. The authentication tag is the last 128bits of the encrypted blob.

dmke commented 4 years ago

Thanks for digging this out. I'll try to implement this.