comparison 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
comparison
equal deleted inserted replaced
3089:e75024e41f81 3090:4f8bdf50593f
129 # encryption is a key for plugins 129 # encryption is a key for plugins
130 MESS_KEY_ENCRYPTION = "ENCRYPTION" 130 MESS_KEY_ENCRYPTION = "ENCRYPTION"
131 # encrypted is a key for frontends 131 # encrypted is a key for frontends
132 MESS_KEY_ENCRYPTED = "encrypted" 132 MESS_KEY_ENCRYPTED = "encrypted"
133 MESS_KEY_TRUSTED = "trusted" 133 MESS_KEY_TRUSTED = "trusted"
134
135 # File encryption algorithms
136 ENC_AES_GCM = "AES-GCM"
134 137
135 ## Chat ## 138 ## Chat ##
136 CHAT_ONE2ONE = "one2one" 139 CHAT_ONE2ONE = "one2one"
137 CHAT_GROUP = "group" 140 CHAT_GROUP = "group"
138 141