Skip to content

Commit

Permalink
Add support for specifying the "PortableCiphers" cipher-suite list ad…
Browse files Browse the repository at this point in the history
…ded in zmap/zcrypto#238 (#302)

Co-authored-by: Adam Greene <copyright@mzpqnxow.com>
  • Loading branch information
mzpqnxow and Adam Greene authored Apr 6, 2021
1 parent 17a5257 commit 0eb497e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tls.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ func (t *TLSFlags) GetTLSConfigForTarget(target *ScanTarget) (*tls.Config, error

// TODO: Find standard names
cipherMap := map[string][]uint16{
"portable": tls.PortableCiphers,
"dhe-only": tls.DHECiphers,
"ecdhe-only": tls.ECDHECiphers,
"exports-dh-only": tls.DHEExportCiphers,
Expand Down

0 comments on commit 0eb497e

Please sign in to comment.