From bfaccc63e36c7a9412f92af7afc9135ff6d596f8 Mon Sep 17 00:00:00 2001 From: lukasmittag Date: Mon, 25 Mar 2024 15:03:47 +0100 Subject: [PATCH] Add comment to test --- kuksa_databroker/databroker/src/authorization/jwt/decoder.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/kuksa_databroker/databroker/src/authorization/jwt/decoder.rs b/kuksa_databroker/databroker/src/authorization/jwt/decoder.rs index 94b2b0de..872fedfa 100644 --- a/kuksa_databroker/databroker/src/authorization/jwt/decoder.rs +++ b/kuksa_databroker/databroker/src/authorization/jwt/decoder.rs @@ -180,6 +180,7 @@ AEiqOjPq0D6X45wCzIwjILUCAwEAAQ== #[test] fn test_expiration_safe_addition() { + // check for expiration date that is to huge to be processed by databroker. If expiration date is later the 2424 than it shall throw an error let pub_key = "-----BEGIN PUBLIC KEY----- MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA6ScE9EKXEWVyYhzfhfvg +LC8NseiuEjfrdFx3HKkb31bRw/SeS0Rye0KDP7uzffwreKf6wWYGxVUPYmyKC7j