parsec-cloud icon indicating copy to clipboard operation
parsec-cloud copied to clipboard

Certificate storage tests

Open touilleMan opened this issue 2 years ago • 1 comments

Tests to implement:

certificate already in database, new certificate is inserted which has same signature (e.g. same user_id for a UserCertificate), this should be checked:

  • with and without the certificate already loaded in cache
  • with the certificate in database invalid (cannot decrypt or cannot deserialize)
  • with the certificate in database valid and the new certificate similar
  • with the certificate in database valid and the new certificate different

~test get_last_certificate_timestamp with different certificates types, and with different dates !~ EDIT: no longer exist

touilleMan avatar May 15 '23 23:05 touilleMan

According to @TimeEngineer only the point regarding the cache is missing.

According to @touilleMan this is no longer a priority --> I am moving it out of the v3.0 milestone.

mmmarcos avatar Feb 19 '24 13:02 mmmarcos