Changes between Version 13 and Version 14 of AnnouncerPlugin/MessageEncryption
- Timestamp:
- Mar 20, 2010, 8:41:45 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AnnouncerPlugin/MessageEncryption
v13 v14 8 8 My initial assumption that I could add cryptographically functions right before inserting recipient addresses to the message was wrong. 9 9 10 It might help a lot to look at [ wiki:AnnouncerPlugin/Documentationinternal structure and event flow] of AnnouncerPlugin in detail.10 It might help a lot to look at [t:wiki:TracDev/Announcer internal structure and event flow] of AnnouncerPlugin in detail. 11 11 By now I add the following into code of ./announcerplugin_trunk/announcer/distributors/mail.py from trunk of AnnouncerPlugin: 12 12 … … 127 127 b. consider invention of a new class, i.e. to allow for reusable code, gpg interface initialization before sign and encrypt actions would profit among others 128 128 c. add a minimal set of new options to [annoucer] section of trac.ini and replace formerly fixed values to gain planned control about new cryptographic functions 129 c.1 mandatory options (not needed for basic operation with common GnuPG installation 130 131 ||option name ||default value ||note || 132 ||encrypt ||False ||whole e-mail sign/encrpt disabled, if not set to 'True', to allow smooth upgrading of existing installations || 133 134 c.2 additional options 135 136 ||option name ||default value ||note || 137 ||gpg_binary ||gpg ||full path to binary, needed i.e. for custom GnuPG install or GnuPG v2 || 138 129 139 3. step: extend web_ui of AnnouncerPlugin to remote-control new options from user and/or administration settings 130 140 … … 143 153 ?: What are the explicitly handled exceptions? 144 154 A: For readability let's try to put this into a table. 155 145 156 ||exception ||cause ||action/behavior || 146 157 ||missing pubkey ||fingerprint in user settings but no corresponding key in pubkeyring file ||delete recipient from recipient list of event in delivery, create new event with info "specified pubkey not in Tracs keyring" to be sent to this user and project admin || 158 159 ?: Does python-gnupg support GnuPG v2? 160 A: AFAIK yes, and I'll continue to test with both versions in the future to maintain compatibility. There might be even a bonus from using GnuPG v2, since it is announced to be PGP/MIME aware. However I'll still have to look into this in detail. 147 161 148 162 === Sources (for ideas and code) ===