buddy-core
buddy-core copied to clipboard
certificates/not-before date is not correct.
certificates/not-before returns incorrect value.
actual result: not-before = not after date.
expected result: not-before = not before date.
See the issue in source code (certificates.clj):
(defn not-before "Returns the first date this certificate is valid." [cert] (.getNotAfter cert))
Here is the code in question:
https://github.com/funcool/buddy-core/blob/78f09bcd2cca7363ce2596651fa58c861c767f8f/src/buddy/core/certificates.clj#L32-L35