From 4b7457faf2473326010c0b13c8b00abd16e897dc Mon Sep 17 00:00:00 2001 From: nk Date: Tue, 7 Jul 2020 15:20:55 +0200 Subject: [PATCH] updates --- api/keymanagement_api.yml2 | 4 +++- api/message_api.yml2 | 10 +++++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/api/keymanagement_api.yml2 b/api/keymanagement_api.yml2 index 277216d5..ef7afd8d 100644 --- a/api/keymanagement_api.yml2 +++ b/api/keymanagement_api.yml2 @@ -215,7 +215,9 @@ protocol session { myself is called by set_own_key without key generation. me->flags are ignored me->address must not be an alias - me->fpr will be ignored and replaced by fpr. + me->fpr will be ignored and replaced by fpr, but caller MUST surrender ownership of the + me->fpr reference, because it may be freed and replaced within the myself call. caller + owns me->fpr memory again upon return. """; use hash fpr doc="fingerprint of the key to mark as own key"; diff --git a/api/message_api.yml2 b/api/message_api.yml2 index 857f779a..34a67c5e 100644 --- a/api/message_api.yml2 +++ b/api/message_api.yml2 @@ -98,7 +98,15 @@ struct message { protocol session { - method encrypt_message doc="encrypt message in memory" + method encrypt_message + doc=""" + encrypt message in memory. enc_format PEP_enc_inline_EA: + internal format of the encrypted attachments is changing, see + https://dev.pep.foundation/Engine/ElevatedAttachments + + Only use this for transports without support for attachments + when attached data must be sent inline + """; { // parms