58 Commits (main)
 

Author SHA1 Message Date
Thomas Gideon 22bedd7049 Update badge 1 year ago
Thomas Gideon 11aa5a3f7c Increment version 1 year ago
Vincent Ambo 025b143d88 Replace usage of chrono with time crate
The time crate is the underlying crate which chrono uses for its
various operations.

Unfortunately, chrono is unmaintained and older versions of the time
crate have security vulnerabilites[0] which are unfixed in chrono[1].

The medallion code does not use any chrono-specific features and all
uses of it could be trivially replaced with the underlying time
structs.

Note that this change adds calls to `expect`. Where these calls are
made, the previous chrono functions also panicked internally if
out-of-range values were passed.

We noticed this issue while doing a similar refactoring in a program
that also uses medallion[2].

[0]: https://rustsec.org/advisories/RUSTSEC-2020-0071.html
[1]: https://rustsec.org/advisories/RUSTSEC-2020-0159.html
[2]: https://cl.tvl.fyi/c/depot/+/5311
1 year ago
Thomas Gideon 970f33d596 Remove github references 1 year ago
Thomas Gideon 8e78ba94f8 Move repository 1 year ago
Thomas Gideon ab5710a2c7 Update base64 dep 2 years ago
Thomas Gideon e543beb804 Update dependency check badge. 3 years ago
Thomas Gideon 4776132e51 Migrated to anyhow and chrono from failure and time crates. 3 years ago
Thomas Gideon 30ff924e9a Update docs 4 years ago
Thomas Gideon 661552d878 Bump version 4 years ago
Thomas Gideon a03e09282d Clean up examples 4 years ago
Thomas Gideon b312bae4c7 Fix repo link 4 years ago
Thomas Gideon c9a09dd33c Update deps.rs version 4 years ago
Thomas Gideon a859e2fd02 Fix links 4 years ago
Thomas Gideon 7fcae534f2
Switch to failure (#6)
* Switch to failure

* Bump version
4 years ago
Thomas Gideon 1b594ff60e
Add defaults for generic parameters (#5) 5 years ago
Thomas Gideon cb304d20e9 Add deps.rs badge 5 years ago
Thomas Gideon 35c0178572 Version bump. 5 years ago
Thomas Gideon aac6d9f7b5 Lints and formatting 5 years ago
Thomas Gideon ccc6657083 Update deps. 5 years ago
Thomas Gideon 5cb408e16a Remove macOS 5 years ago
Thomas Gideon 91e93dd818 Add macOS to travis CI 5 years ago
Thomas Gideon 42824a133e Update to serde 1.0 (#4)
* Try updating service to 1.0

* Strip bounds from structs

* Clean bounds from Default impl

* Remove pem files, clean up some documentation

* Add badges, categories
6 years ago
Thomas Gideon a265a703d6 Merge branch 'master' of github.com:commandline/medallion 6 years ago
Thomas Gideon f1db24606b Upgrade to Serde 1.0 (#2)
* Bump openssl
* Fix naive code that was breaking serde 1.0
6 years ago
Thomas Gideon d70d814ae3 Bump openssl 6 years ago
Thomas Gideon 0aa3aa6faa Verify not before and expiration claims, if present 6 years ago
Thomas Gideon 179b2f8554 Fix link markdown 6 years ago
Thomas Gideon 52452923d2 Implement Error, Display for Error enum 6 years ago
Thomas Gideon 053327f7dd Add a few more keywords. 6 years ago
Thomas Gideon 3c9fd6b13b Refactor header claims (#1)
Simplify customization, bump to 2.0.0.
6 years ago
Thomas Gideon 9df2ac741e Stop using padding 6 years ago
Thomas Gideon 8826655201 Slight format tweak 6 years ago
Thomas Gideon d124a812cb Update version 6 years ago
Thomas Gideon a57e582337 De-dupe some test code 6 years ago
Thomas Gideon 3c95e1b163 Change to ? operator 6 years ago
Thomas Gideon 94b83d12aa Clean up error handling in crypt 6 years ago
Thomas Gideon 2442a6f2c0 Correct required traits, attributes 6 years ago
Thomas Gideon db05e08580 Add badges 6 years ago
Thomas Gideon b33e543341 Fix home page link. 6 years ago
Thomas Gideon a7e9efa012 Add badge to README 6 years ago
Thomas Gideon e24df1568d More info/config for Travis 6 years ago
Thomas Gideon 6f7daf9a87 Fill out rustdoc 6 years ago
Thomas Gideon acee9a8494 Add Travis 6 years ago
Thomas Gideon 91a1f88256 Release 1 6 years ago
Thomas Gideon 7cc935244d Finish clean up 6 years ago
Thomas Gideon 29037a0df7 Change one operation over to new higher level fn 6 years ago
Thomas Gideon cfd61ae991 Change remaining tests 6 years ago
Thomas Gideon ef8680fe3d Add new higher level fn's, switch a test 6 years ago
Thomas Gideon 3c624ad482 Rename fn's to be consistent 6 years ago