Mercurial > libervia-backend
comparison sat/bridge/bridge_constructor/bridge_template.ini @ 2743:da59ff099b32
core (memory/encryption), plugin OTR: finished OTR integration in encryption:
- messageEncryptionStart and messageEncryptionStop are now async
- an encryption plugin can now have a startEncryption and endEncryption method, which are called automatically when suitable
- trust is now put in "trusted" key of message_data, and markAsTrusted has been added, it is used in OTR
- getTrustUI implemented for OTR, using legacy authenticate code
- catch potr.crypt.InvalidParameterError on decryption
- fixed some service OTR messages which were not correctly marked as not for storing, and thus were added to MAM archive/carbon copied
- other bug fixes
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 03 Jan 2019 21:00:00 +0100 |
parents | e347e32aa07f |
children | eb9fa72eb62b |
comparison
equal
deleted
inserted
replaced
2742:1f5b02623355 | 2743:da59ff099b32 |
---|---|
434 doc_param_3=mess_type: Type of the message (cf RFC 6121 §5.2.2) or "auto" for automatic type detection | 434 doc_param_3=mess_type: Type of the message (cf RFC 6121 §5.2.2) or "auto" for automatic type detection |
435 doc_param_4=extra: optional data that can be used by a plugin to build more specific messages | 435 doc_param_4=extra: optional data that can be used by a plugin to build more specific messages |
436 doc_param_5=%(doc_profile_key)s | 436 doc_param_5=%(doc_profile_key)s |
437 | 437 |
438 [messageEncryptionStart] | 438 [messageEncryptionStart] |
439 async= | |
439 type=method | 440 type=method |
440 category=core | 441 category=core |
441 sig_in=ssbs | 442 sig_in=ssbs |
442 sig_out= | 443 sig_out= |
443 param_1_default='' | 444 param_1_default='' |
449 doc_param_2=replace: if True and an encryption session already exists, it will be replaced by this one | 450 doc_param_2=replace: if True and an encryption session already exists, it will be replaced by this one |
450 else a ConflictError will be raised | 451 else a ConflictError will be raised |
451 doc_param_3=%(doc_profile_key)s | 452 doc_param_3=%(doc_profile_key)s |
452 | 453 |
453 [messageEncryptionStop] | 454 [messageEncryptionStop] |
455 async= | |
454 type=method | 456 type=method |
455 category=core | 457 category=core |
456 sig_in=ss | 458 sig_in=ss |
457 sig_out= | 459 sig_out= |
458 doc=Stop an encryption session | 460 doc=Stop an encryption session |