Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jamonation/gotls
Check local or remote Public/Private SSL keys with Go
https://github.com/jamonation/gotls
Last synced: about 24 hours ago
JSON representation
Check local or remote Public/Private SSL keys with Go
- Host: GitHub
- URL: https://github.com/jamonation/gotls
- Owner: jamonation
- License: wtfpl
- Created: 2016-05-15T21:20:12.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-10-27T11:26:30.000Z (about 8 years ago)
- Last Synced: 2024-06-20T05:03:06.383Z (5 months ago)
- Language: Go
- Homepage:
- Size: 357 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Build: [![CircleCI](https://circleci.com/gh/jamonation/gotls/tree/master.svg?style=svg)](https://circleci.com/gh/jamonation/gotls/tree/master) [![Go Report Card](https://goreportcard.com/badge/github.com/jamonation/gotls)](https://goreportcard.com/report/github.com/jamonation/gotls) [![Coverage Status](https://coveralls.io/repos/github/jamonation/gotls/badge.svg?branch=testing123)](https://coveralls.io/github/jamonation/gotls?branch=testing123)
This tool is intended to make it easy to parse local PEM encoded RSA keys and x509 certificates, which are commonly used for HTTPS encryption.
![gotls preview for golang.org](https://raw.githubusercontent.com/jamonation/gotls/master/gotls-preview.png)
Flags are:
```
gotls -h
NAME:
gotls - Examine local and remote SSL keys and certificatesUSAGE:
gotls [global options] command [command options] [arguments...]VERSION:
0.0.2COMMANDS:
GLOBAL OPTIONS:
--cert value, -c value Filesystem path to public .pem file
--key value, -k value Filesystem path to private .key file
--format value, -f value Output format (text, json) (default: "text")
--server value, -s value Remote server name, e.g. golang.org
--host value Remote host, e.g. 216.58.220.49 or golang.org
--port value, -p value Remote HTTP port, e.g. 8443 (default: 443)
--insecure Skip chain & Root CA validation
--help, -h show help
--version, -v print the version
```TODOS:
0. REFACTOR (again). Consolidate printing. DRY principle applies.
1. ~~strip all print/formatting from gotls and put into check.go~~
2. ~~remove gotls entirely~~ ignore, was from a temp iteration
3. ~~Add json output for --server/--host case~~
4. Add download cert option for --server/--host case
5. Add enumerate remote TLS ciphers using n (configurable) channels to check remote servers
6. Tests. Tests. Tests. Tests. Tests. All dev should stop until there are tests.