Bugfix don't use binary signatures for OpenPGP
[gpgme.git] / gpgmeplug / gpgme-openpgp.c
1 #define GPGMEPLUG_PROTOCOL GPGME_PROTOCOL_OpenPGP
2
3 #define GPGMEPLUG_SIGN_INCLUDE_CLEARTEXT true
4 #define GPGMEPLUG_SIGN_MAKE_MIME_OBJECT  true
5 #define GPGMEPLUG_SIGN_MAKE_MULTI_MIME   true
6 #define GPGMEPLUG_SIGN_CTYPE_MAIN        "multipart/signed;protocol=application/pgp-signature;micalg=pgp-sha1"
7 #define GPGMEPLUG_SIGN_CDISP_MAIN        ""
8 #define GPGMEPLUG_SIGN_CTENC_MAIN        ""
9 #define GPGMEPLUG_SIGN_CTYPE_VERSION     ""
10 #define GPGMEPLUG_SIGN_CDISP_VERSION     ""
11 #define GPGMEPLUG_SIGN_CTENC_VERSION     ""
12 #define GPGMEPLUG_SIGN_BTEXT_VERSION     ""
13 #define GPGMEPLUG_SIGN_CTYPE_CODE        "application/pgp-signature"
14 #define GPGMEPLUG_SIGN_CDISP_CODE        ""
15 #define GPGMEPLUG_SIGN_CTENC_CODE        ""
16 #define GPGMEPLUG_SIGN_FLAT_PREFIX       ""
17 #define GPGMEPLUG_SIGN_FLAT_SEPARATOR    ""
18 #define GPGMEPLUG_SIGN_FLAT_POSTFIX      ""
19 #define __GPGMEPLUG_SIGNATURE_CODE_IS_BINARY false
20
21 #define GPGMEPLUG_ENC_INCLUDE_CLEARTEXT  false
22 #define GPGMEPLUG_ENC_MAKE_MIME_OBJECT   true
23 #define GPGMEPLUG_ENC_MAKE_MULTI_MIME    true
24 #define GPGMEPLUG_ENC_CTYPE_MAIN         "multipart/encrypted; protocol=application/pgp-encrypted"
25 #define GPGMEPLUG_ENC_CDISP_MAIN         ""
26 #define GPGMEPLUG_ENC_CTENC_MAIN         ""
27 #define GPGMEPLUG_ENC_CTYPE_VERSION      "application/pgp-encrypted"
28 #define GPGMEPLUG_ENC_CDISP_VERSION      "attachment"
29 #define GPGMEPLUG_ENC_CTENC_VERSION      ""
30 #define GPGMEPLUG_ENC_BTEXT_VERSION      "Version: 1"
31 #define GPGMEPLUG_ENC_CTYPE_CODE         "application/octet-stream"
32 #define GPGMEPLUG_ENC_CDISP_CODE         "inline; filename=\"msg.asc\""
33 #define GPGMEPLUG_ENC_CTENC_CODE         ""
34 #define GPGMEPLUG_ENC_FLAT_PREFIX        ""
35 #define GPGMEPLUG_ENC_FLAT_SEPARATOR     ""
36 #define GPGMEPLUG_ENC_FLAT_POSTFIX       ""
37 #define __GPGMEPLUG_ENCRYPTED_CODE_IS_BINARY false
38
39 #include "gpgmeplug.c"