Commit Graph

51 Commits

Author SHA1 Message Date
AJ ONeal a2aa6b5411 add trailing newline to output 2020-10-01 21:52:59 -06:00
AJ ONeal 94f22e1948 fix flag parsing 2020-10-01 21:45:43 -06:00
AJ ONeal f46e11257b add CLI to generate and marshal keypair 2020-10-01 21:30:26 -06:00
AJ ONeal db6a30b358 update documented import path 2020-05-10 13:11:26 -06:00
AJ ONeal e4ff8ac55b update canonical import path 2020-05-10 12:34:01 -06:00
AJ ONeal 8f66f1d235 go lint and update docs 2020-04-10 13:59:44 -04:00
ignore 78847a9cfd add MIT license 2019-08-19 14:48:28 -06:00
AJ ONeal 5701d77d7a friendlier error reporting 2019-07-11 10:59:19 -06:00
AJ ONeal fe5cf33bef update error message 2019-04-22 10:10:36 -06:00
AJ ONeal 6fc75632c8 Warn on empty string in whitelist 2019-04-17 17:08:53 -06:00
AJ ONeal 671ea1250d v0.4.0 require separate string for private issuers 2019-04-15 11:09:34 -06:00
AJ ONeal 1205ea05e1 add specific key test 2019-03-25 17:48:39 -06:00
AJ ONeal c4fc285259 add String method to Whitelist 2019-03-22 16:17:13 -06:00
AJ ONeal 3ab2594234 make IsTrustedIssuer a method of Whitelist 2019-03-22 15:28:11 -06:00
AJ ONeal d981fb3a7c Merge branch 'master' of github.com:big-squid/go-keypairs 2019-03-22 14:01:30 -06:00
AJ ONeal ada07e4446 better error for private networking 2019-03-22 14:01:19 -06:00
AJ ONeal f2d341a3c0 v0.2.0: add support for fetching /pem 2019-03-15 17:52:53 -06:00
AJ ONeal 90b05bac5f add user agent 2019-03-08 14:28:23 -07:00
AJ ONeal ce652e0590 doc updates 2019-03-06 20:18:21 -07:00
AJ ONeal a0d19dd83c update docs 2019-03-06 20:13:35 -07:00
AJ ONeal 109f77841b parse certificate files, and golint 2019-03-06 18:00:17 -07:00
AJ ONeal 1b938c56da add /pem 2019-03-06 17:59:42 -07:00
AJ ONeal 074b91bc2f add tests for implicit issuer 2019-03-06 14:59:25 -07:00
AJ ONeal e753b5a1a6 added IsTrustedIssuer + tests 2019-03-06 11:08:40 -07:00
AJ ONeal ed2297e2ad add more docs 2019-02-28 20:47:08 -07:00
AJ ONeal 6769ef90c3 add test 2019-02-28 19:40:13 -07:00
AJ ONeal c74a56b907 minor bugfix 2019-02-28 19:16:58 -07:00
AJ ONeal a3d33da5d0 keydist -> keyserve (better pkg name) 2019-02-28 15:32:16 -07:00
AJ ONeal f542314cea add generic http handler for JWKs URL 2019-02-28 15:31:10 -07:00
AJ ONeal 8469f35bf7 fix bad JWK string 2019-02-28 00:54:01 +00:00
AJ ONeal 0704d0df64 be more consistent with URLs 2019-02-22 22:38:48 +00:00
AJ ONeal 163511db7e remove redundant normalization 2019-02-22 21:47:05 +00:00
AJ ONeal 489a2f63a0 normalize trailing / on issuer and baseURL 2019-02-22 21:40:46 +00:00
AJ ONeal 3190c699a8 doc cleanup 2019-02-21 00:14:28 +00:00
AJ ONeal 002ffb5e6d doc cleanup 2019-02-21 00:12:31 +00:00
AJ ONeal 04259f1e96 refactor 2019-02-21 00:10:42 +00:00
AJ ONeal daea45a09f move fetch to own package 2019-02-20 19:59:22 +00:00
AJ ONeal 4ff0e898f1 add key caching 2019-02-20 19:26:37 +00:00
AJ ONeal f2468010fa add caching to fetching 2019-02-19 23:50:46 +00:00
AJ ONeal 34e2ec1a8e add optional "use":"sig" to public jwk 2019-02-12 16:57:01 +00:00
AJ ONeal a91624fb78 use seconds for exp, not rfc timestamp 2019-02-11 22:38:40 +00:00
AJ ONeal 1ac7292cc7 add README.md 2019-02-11 18:48:18 +00:00
AJ ONeal f5cec1b18e bugfix nil interface 2019-02-09 00:50:56 +00:00
AJ ONeal 84b07108b6 thinner wrapping, add exp to jwk 2019-02-09 00:43:50 +00:00
AJ ONeal 517865f334 provide a typesafe PublicKey interface 2019-02-08 23:53:29 +00:00
AJ ONeal 211016b05e Fetch JWKs from OIDC URLs 2019-02-08 01:26:45 +00:00
AJ ONeal db7dcc62b4 cleanup 2019-02-07 21:19:37 +00:00
AJ ONeal 4afb5dc4cb test rsa private keys 2019-02-07 20:05:26 +00:00
AJ ONeal b9f5fd197e test ec private keys 2019-02-07 19:30:04 +00:00
AJ ONeal 5695a0d0e7 partial public key support 2019-02-07 01:31:48 +00:00