Commit Graph

19 Commits

Author SHA1 Message Date
Masih H. Derkani
597b8983b0
Address staticcheck issues
Fix `staticcheck` issues:
- S1028 use `fmt.Errorf` to construct formatted errors
- ST1017 yoda conditions
- ST1005 error message capitalization
- ST1006 avoid `self` as receiver name
- S1030 use `buf.String`
- S1011 avoid redundant loop when `append` suffices
- SA4006 unused value
- S1019 remove redundant capacity on `make` call
- SA2002 `t.Fatal` called outside of test

Exported error violates ST1012, which is ignored by this PR since rename may cause breaking changes.

Remove redundant parentheses wrapping, and use CamelCase naming while at it.
2021-07-19 16:53:28 +01:00
Stephan Eberle
6d00a81776 Enabled PEM files with CRLF line endings to be used (#10); made PEM file splitter tolerant of trailing whitespace in PEM block delimiter lines 2020-10-09 19:23:19 +02:00
Jeff Wendling
37dddbfb29 add AUTHORS and unify copyright info 2017-06-05 18:07:03 -06:00
Ryan Hileman
9bed092d70 add pem.go with SplitPEM function 2014-11-18 23:25:48 -08:00
Ryan Hileman
3945574fd1 restructure certs/keys; add key/cert generation
NID is also now an exposed type
2014-11-18 17:47:07 -08:00
JT Olds
42391d89a5 add license
Change-Id: I4642fb9b97256ec6b3ffbe403272efc690bf1606
2014-05-09 15:38:13 -06:00
Andrew Harding
b9b4dfd97b space monkey internal commit export
[katamari commit: b2f940b6b4cb03a3eab999f7034bc2a1db4bc710]
2014-04-03 22:29:33 +00:00
JT Olds
b42853e994 space monkey internal commit export
[katamari commit: 6ac6e9c5673cfc54ebe8f5981d37fa0d71ca7a30]
2014-03-24 23:31:45 +00:00
Erik Nolte
82663aa776 space monkey internal commit export
[katamari commit: f56f4b1fa41742ef478f2342135b50ecd4a8c5eb]
2014-03-21 22:50:29 +00:00
Andrew Harding
1d9843178d space monkey internal commit export
[katamari commit: fc133f4e22e0d82053b5978b099a04f1ae5f62d5]
2014-03-11 22:33:31 +00:00
JT Olds
11c5494405 space monkey internal commit export
[katamari commit: eb9538894a23e6b6381ec2e33e825466989451dd]
2014-02-28 22:16:25 +00:00
JT Olds
754bf832c4 space monkey internal commit export
[katamari commit: a6b35c2de3656d9e8b3654d78a850fa050652b1d]
2014-02-28 22:16:02 +00:00
JT Olds
9038b3bfc8 space monkey internal commit export
[katamari commit: a787e0a0c25fd8ad187772370e3c7272418f6ef8]
2014-02-28 22:00:18 +00:00
Jeff Wendling
fa8eb6a573 space monkey internal commit export
[katamari commit: 9bd04d1d78e85304589695c66e328d23128f509c]
2014-02-25 19:01:49 +00:00
Jeff Wendling
751143ef9c space monkey internal commit export
[katamari commit: ce8d2d36f887ab400c77a4eed9e37d02ecc8968a]
2014-02-25 17:36:24 +00:00
JT Olds
2717095707 space monkey internal commit export
[katamari commit: 893e1fc168a8ed977f28e07ee0e4a6a62d3cf129]
2014-01-30 18:38:04 +00:00
Andrew Harding
9191dc4a2c space monkey internal commit export
[katamari commit: 77dd3ea8a00bdc73be495e9b06c491a85b4521ff]
2014-01-24 01:27:18 +00:00
JT Olds
053d794fe5 space monkey internal commit export
[katamari commit: 66d3bf715795d3696ca37003fba5dba1af7ffacf]
2014-01-20 19:29:56 +00:00
JT Olds
f3fa51fc61 space monkey internal commit export
[katamari commit: fbadad69fa95d38c389d6dbf9607599c51353e78]
2014-01-18 01:30:37 +00:00