Commit Graph
82 Commits
Author SHA1 Message Date
Cedric StaubandGitHub bcbe4557e5 Merge pull request #50 from square/cs/warnings2
Add more warnings
2016-06-10 13:42:24 -07:00
Cedric Staub 268c65840f Add more warnings for certificates 2016-06-10 11:54:25 -07:00
Alok MenghrajaniandGitHub f37e84cc49 Merge pull request #48 from square/alok/read_password
Improve password input handling
2016-06-10 11:25:06 -07:00
Cedric StaubandGitHub 9d9066683e Merge pull request #49 from square/cs/warn-fix
Fix version warning format string
2016-06-10 10:52:26 -07:00
Alok Menghrajani 119957afce Improve password input handling
Plays nicer when doing: ./certigo dump foo.jceks | grep ...
2016-06-09 23:58:33 -07:00
Cedric Staub da44d8269e Fix version warning format string 2016-06-09 23:19:26 -07:00
Cedric StaubandGitHub 5b87806b8b Merge pull request #47 from square/cs/format-guess
Guess file format based on initial 4 bytes of data
2016-06-09 11:09:33 -07:00
Cedric Staub 9152b7de00 Guess file format based on initial 4 bytes of data 2016-06-08 20:12:14 -07:00
Cedric Staub 77895d5220 Merge pull request #46 from square/cs/openssl-example
Update README.md
2016-06-08 19:07:21 -07:00
Cedric StaubandCedric Staub fc28b46cfe Update README.md 2016-06-08 14:27:15 -07:00
Cedric Staub a874e3890f Merge pull request #44 from square/cs/show-key-usage
Show key usage and extended key usage
2016-06-08 13:30:30 -07:00
Cedric Staub e3fb5bac7e Show key usage and extended key usage 2016-06-08 13:28:29 -07:00
Christopher Denny 2c0a03266c Merge pull request #45 from square/cs/warnings
Show lints/warnings when dumping certificates
2016-06-08 13:03:57 -07:00
Cedric Staub 2cca37e92a Show lints/warnings when dumping certificates 2016-06-07 17:44:02 -07:00
Christopher Denny bafd1c9e9c Merge pull request #43 from square/cs/show-basic-constraints
Show basic constraints
2016-06-07 17:00:10 -07:00
Cedric Staub c00abaa932 Show name constraints 2016-06-07 16:56:18 -07:00
Cedric Staub af46a622fc Show basic constraints 2016-06-07 16:50:13 -07:00
Cedric Staub c0e4c95ed0 Update README.md 2016-06-07 15:57:13 -07:00
Cedric Staub 323f7dc4b9 Update readme to match current output format 2016-06-07 15:54:21 -07:00
Christopher Denny 2aff47e70f Merge pull request #42 from square/cdenny/fixConflict
Cdenny/fix conflict
2016-06-07 15:02:55 -07:00
Christopher Denny 2f91f11764 Removed erronous support for jks files and renamed corresponding
file in certs folder to use jceks extension.
2016-06-07 15:00:26 -07:00
Cedric Staub 7d5cb48c09 Merge pull request #41 from square/cs/algo-colors
Algorithm color highlighting
2016-06-07 14:52:26 -07:00
Christopher Denny d90fbacb89 Converted der section in getCerts to use updated ioreader instead of filename. 2016-06-07 14:38:38 -07:00
Christopher Denny f07e32d1c8 Merge branch 'cdenny/derSupport' into cdenny/fixConflict
* cdenny/derSupport:
  Added der support and a sample der cert in the certs folder.
2016-06-07 14:28:29 -07:00
Christopher Denny 46170e7bf2 Added der support and a sample der cert in the certs folder. 2016-06-07 14:18:23 -07:00
Christopher Denny 4bc042681d Merge pull request #40 from square/cs/stdin
Support stdin, add examples to readme
2016-06-07 14:15:01 -07:00
Cedric Staub e27b86e0dc Algorithm color highlighting 2016-06-07 14:02:24 -07:00
Cedric Staub 327dcdf884 Support stdin, add examples to readme 2016-06-07 13:48:04 -07:00
Christopher Denny 5cab7d141c Merge pull request #37 from square/cs/serial
Put serial on top of output
2016-06-07 13:33:26 -07:00
Cedric Staub 4478d0a374 Put serial on top of output 2016-06-07 13:23:29 -07:00
Christopher Denny 56d9b0d967 Merge pull request #36 from square/cs/vendor
Use checked-in vendor directory
2016-06-07 13:17:41 -07:00
Christopher Denny 92bcde9ceb Merge pull request #35 from square/cdenny/aliasDisplay
Added support to output alias info for jceks certs.
2016-06-07 13:14:48 -07:00
Christopher Denny 01131ea73e Made CertWithAlias type nonexportable. 2016-06-07 13:12:15 -07:00
Cedric Staub 530030e1cb Use checked-in vendor directory 2016-06-07 13:04:20 -07:00
Christopher Denny 248a04a234 Cleaned up alias output.
No longer uses separate arrays for certs and their aliases. Now both are
contained in a single struct called CertWithAlias. An array of these
are passed around instead of two separate arrays, one for certs and one
for their aliases.
2016-06-07 12:59:21 -07:00
Christopher Denny 297aa9246a Added support to output alias info for jceks certs.
GetCerts now returns an array of alias strings along with certs,
the array contains empty strings if not jceks. DisplayCerts
now takes in an alias string along with the cert and only prints
it if non empty.
2016-06-06 16:13:27 -07:00
Christopher Denny 11aa7e6199 Merge pull request #32 from square/cdenny/jceksSupport
Added jceks support. Uses jceks package to parse files.
2016-06-03 14:12:40 -07:00
Christopher Denny 649a7e64b2 Changed alias password request for jceks to use printf made 'alias' lowercase. 2016-06-03 13:56:15 -07:00
Christopher Denny e68f592713 JCEKS support also finds certs tied to private keys.A
Uses the GetPrivateKeyAndCerts method from jceks package to find
these additional certs.
2016-06-03 13:35:44 -07:00
Cedric Staub 683ebb6fbb Merge pull request #33 from square/cs/jceks-authors
Add AUTHORS file to jceks package
2016-06-03 13:26:15 -07:00
Cedric Staub 5adab41e06 Add AUTHORS file to jceks package 2016-06-03 13:24:11 -07:00
Christopher Denny aeb0a62d46 Changed case checking for user input of JKS to check for JCEKS 2016-06-03 13:15:59 -07:00
Christopher Denny 6aed39208c Added jceks support. Uses jceks package to parse files. 2016-06-03 13:14:01 -07:00
Christopher Denny b273c97123 Merge pull request #31 from square/cs/guess-more-formats
Guess more formats, clean up guessing code
2016-06-03 13:08:13 -07:00
Cedric Staub ce009228ac Guess more formats, clean up guessing code 2016-06-03 12:14:46 -07:00
Christopher Denny 220179c4d1 Merge pull request #30 from square/cs/jceks
Add jceks sub-package
2016-06-02 20:38:31 -07:00
Christopher Denny 9992010884 Merge pull request #29 from square/cdenny/outputFormatting
Fixed empty fields in output, output of large arrays, and ip addresses and emails
2016-06-02 20:37:43 -07:00
Christopher Denny 42f749ac1c Absent cert fields no longer print N/A, they just don't print at all.
-Switched from spaces to tabs
-Note, if either Subject or Issuer have ALL fields not present it'll still print "subject info:" or "issuer info:"
2016-06-02 16:22:50 -07:00
Cedric Staub 8b92817d07 Add jceks sub-package 2016-06-02 15:41:55 -07:00
Christopher Denny 85bea13299 Merge pull request #28 from square/cs/glide
Use glide for vendoring
2016-06-02 14:56:31 -07:00