diff options
| author | Ingo Klöcker <[email protected]> | 2026-04-21 10:46:17 +0200 |
|---|---|---|
| committer | Ingo Klöcker <[email protected]> | 2026-04-21 12:29:16 +0200 |
| commit | 2100e1fbdfeb9ecda00787032a8256938a113dde (patch) | |
| tree | 6eadb1804d0395e1fc2a0a979ee31153811c1a1b /src/status-table.c | |
| parent | doc: Fix argument type of gpgme_set_sender (diff) | |
| download | gpgme-2100e1fbdfeb9ecda00787032a8256938a113dde.tar.gz gpgme-2100e1fbdfeb9ecda00787032a8256938a113dde.zip | |
Add flag fields is_de_vs and beta_compliance to encryption results
* src/encrypt.c (_gpgme_encrypt_status_handler): Handle the compliance
status line.
* src/gpgme.h.in (struct _gpgme_op_encrypt_result): Add fields is_de_vs
and beta_compliance.
(gpgme_status_code_t): Add status code for the encryption compliance
status line.
* src/status-table.c (status_table): Add encryption compliance status
line.
* tests/run-encrypt.c (print_encrypt_result): Print compliance.
--
This allows checking whether the encrypt operation is in compliance with
the VS-NfD criteria.
GnuPG-bug-id: 6702
Diffstat (limited to 'src/status-table.c')
| -rw-r--r-- | src/status-table.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/status-table.c b/src/status-table.c index 6ec73ab1..6b2e3396 100644 --- a/src/status-table.c +++ b/src/status-table.c @@ -58,6 +58,7 @@ static struct status_table_s status_table[] = { "DECRYPTION_OKAY", GPGME_STATUS_DECRYPTION_OKAY }, { "DELETE_PROBLEM", GPGME_STATUS_DELETE_PROBLEM }, { "DECRYPTION_COMPLIANCE_MODE", GPGME_STATUS_DECRYPTION_COMPLIANCE_MODE }, + { "ENCRYPTION_COMPLIANCE_MODE", GPGME_STATUS_ENCRYPTION_COMPLIANCE_MODE }, { "ENC_TO", GPGME_STATUS_ENC_TO }, { "END_DECRYPTION", GPGME_STATUS_END_DECRYPTION }, { "END_ENCRYPTION", GPGME_STATUS_END_ENCRYPTION }, |
