Commit Graph

28 Commits (23b8f45b37e8541de9d08aeb4e7e17fa260fcf27)

Author SHA1 Message Date
Mariano Cano 23b8f45b37 Address gosec warnings
Most if not all false positives
2 years ago
Herman Slatman a7dd3a986f
Set nil dial context for js/wasm runtime 2 years ago
Mariano Cano ad8a813abe Fix linter errors 2 years ago
Mariano Cano 36b622bfc2 Use Golang's default keep-alive.
Since Go 1.13 a net.Listen keep-alive is enabled by default if
the protocol and OS supports it. The new one is 15s to match
the net.Dial default one. Previously http.Server ListenAndServe
and ListenAndServeTLS used to add a wrapper with 3m that we
replicated.

See https://github.com/golang/go/issues/31510
3 years ago
max furman 933b40a02a Introduce gocritic linter and address warnings 3 years ago
max furman 7b5d6968a5 first commit 3 years ago
Mariano Cano 26e7cc6177 Allow to use the SDK with ed25519 keys. 3 years ago
Mariano Cano 1328aa3e47 Fix review comments. 3 years ago
Mariano Cano c5234e9c61 Refactor tls tunnel connections.
New method will use an identity-like file with the configuration
used to create the (m)TLS connection to the tunnel.
3 years ago
Mariano Cano e75a9409a5 Add experimental support for a TLS over TLS tunnel. 3 years ago
Mariano Cano 44207523be Add missing tests. 4 years ago
Mariano Cano 1d7ab9145a Avoid lint error. 4 years ago
Mariano Cano 0b62ce9d0e Use go 1.13 to build certificates. 4 years ago
Mariano Cano 349bca06bb Fix line error due to deprecated DialTLS. 4 years ago
Mariano Cano b4739c185d Remove unnecessary method GetCertificateRenewer. 5 years ago
Mariano Cano fa216ccaad Use SetTransport method. 5 years ago
Mariano Cano 8d2de64811 Add method to get a certificate renewer. 5 years ago
Mariano Cano f1f6c548ad Fix typo. 5 years ago
Mariano Cano d394dd233a Initiate default RootCAs/ClientCAs when no options are passed. 5 years ago
Mariano Cano 25eba1a96c WIP on the safely rotate of root and federated certificates.
Fixes #23
5 years ago
Mariano Cano 518b597535 Remove mTLS client requirement in /roots and /federation 5 years ago
Mariano Cano 10aaece1b0 Update root certificates on renew. 5 years ago
Mariano Cano d296cf95a9 Add mTLS request to get all the root CAs, not the federated ones. 5 years ago
Mariano Cano 722bcb7e7a Add initial support for federated root certificates. 5 years ago
Mariano Cano d872f09910 Use mTLS by default on SDK methods.
Add options to modify the tls.Config for different configurations.
Fixes #7
6 years ago
Mariano Cano 9c64dbda9a Add helpers to add direct support for mTLS. 6 years ago
max furman c74fcd57a7 ca-component -> certificates
* fix redundant error check
* add README
6 years ago
max furman c284a2c0ab first commit 6 years ago