Diff
Not logged in

Differences From:

File src/tkt.c part of check-in [f46fe42d6d] - Store private ticket fields (ex: the originators email address) as their SHA1 hash so that malefactors cannot read them. Add the new "concealed" table to the repository database and store mappings from SHA1 hashes back to email addresses in that table. Ticket a24ec6005f. Note: run "rebuild" on repositories after updating to this version of fossil in order to create the "concealed" table. Need to add the ability to manage the concealed table from the web interface and the ability to sync concealed content between trusted repositories. by drh on 2008-07-24 02:04:36. [view]

To:

File src/tkt.c part of check-in [3c851ca760] - Clean up handling of concealed email addresses. This might be related to ticket 4b40f574494. by drh on 2008-07-24 14:48:52. [view]

@@ -405,12 +405,10 @@
         if( strncmp(azField[i], "private_", 8)==0 ){
           zValue = db_conceal(zValue, nValue);
           nValue = strlen(zValue);
         }
-        if( strncmp(zValue, azValue[i], nValue)
-                || strlen(azValue[i])!=nValue ){
-          blob_appendf(&tktchng, "J %s %z\n",
-             azField[i], fossilize(zValue,nValue));
+        if( strncmp(zValue, azValue[i], nValue) || strlen(azValue[i])!=nValue ){
+          blob_appendf(&tktchng, "J %s %#F\n", azField[i], nValue, zValue);
         }
       }
     }
   }