Mercurial > libervia-backend
diff sat/core/constants.py @ 3090:4f8bdf50593f
plugin sec aesgcm: new plugin handling `aesgcm:` scheme for e2e encrypted media sharing:
The scheme is register with download meta plugin, and it is activated with HTTP Upload
(XEP-0363) when `encryption` is used in `options` with the value of C.ENC_AES_GCM.
This is also known as `OMEMO Media Sharing` even if this method is not directly linked to
OMEMO and can be used independently.
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 20 Dec 2019 12:28:04 +0100 |
parents | 2cc2f65379f7 |
children | 2798c86412e1 |
line wrap: on
line diff
--- a/sat/core/constants.py Fri Dec 20 12:28:04 2019 +0100 +++ b/sat/core/constants.py Fri Dec 20 12:28:04 2019 +0100 @@ -132,6 +132,9 @@ MESS_KEY_ENCRYPTED = "encrypted" MESS_KEY_TRUSTED = "trusted" + # File encryption algorithms + ENC_AES_GCM = "AES-GCM" + ## Chat ## CHAT_ONE2ONE = "one2one" CHAT_GROUP = "group"