CryptSync is a small utility that synchronizes two folders while encrypting the contents in one folder. That means one of the two folders has all files unencrypted (the files you work with) and the other folder has all the files encrypted.
While testing the "archive" attribute reset changes I noticed that the "last modified" timestamp was not always restored correctly. Reasons vary as per comment I put in the code I put between #if 0/#endif. Code change I propose here fix this: Decrypted files have correct "last modified" timestamp, as recorded in the encrypted file.
Testing also showed that the "created" and "last accessed" timestamp were not restored. A recent 7Zip change added ability to record a file's "last accessed" and "created" timestamps so they can be restored. Future archives created by CryptSync will have these timestamps as well with the proposed code change.
While testing the "archive" attribute reset changes I noticed that the "last modified" timestamp was not always restored correctly. Reasons vary as per comment I put in the code I put between #if 0/#endif. Code change I propose here fix this: Decrypted files have correct "last modified" timestamp, as recorded in the encrypted file.
Testing also showed that the "created" and "last accessed" timestamp were not restored. A recent 7Zip change added ability to record a file's "last accessed" and "created" timestamps so they can be restored. Future archives created by CryptSync will have these timestamps as well with the proposed code change.