nextcloud / end_to_end_encryption_rfc

🔒 Specification for end-to-end encryption used by Nextcloud sync & mobile apps
Other
31 stars 15 forks source link

GCM nonce size #32

Closed MaxFichtelmann closed 5 years ago

MaxFichtelmann commented 5 years ago

The RFC states in uploading new files that the IV (Nonce) used in the GCM encryption should be of size 16 byte/128 bit.

Generate a new 128-bit IV for the file

RFC 5116, which specifies AES/GCM describes the nonce size as 12 byte/96 bit.

tobiasKaminsky commented 5 years ago

Fixed in v2, which will be published soon as a draft.