forked from TrueCloudLab/certificates
Formatted.
This commit is contained in:
parent
a13e58e340
commit
1ba1584c7a
2 changed files with 8 additions and 9 deletions
|
@ -87,7 +87,6 @@ type AuthorityInfo struct {
|
||||||
SSHCAHostPublicKey []byte
|
SSHCAHostPublicKey []byte
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// New creates and initiates a new Authority type.
|
// New creates and initiates a new Authority type.
|
||||||
func New(cfg *config.Config, opts ...Option) (*Authority, error) {
|
func New(cfg *config.Config, opts ...Option) (*Authority, error) {
|
||||||
err := cfg.Validate()
|
err := cfg.Validate()
|
||||||
|
|
2
ca/ca.go
2
ca/ca.go
|
@ -1,9 +1,9 @@
|
||||||
package ca
|
package ca
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"crypto/sha256"
|
||||||
"crypto/tls"
|
"crypto/tls"
|
||||||
"crypto/x509"
|
"crypto/x509"
|
||||||
"crypto/sha256"
|
|
||||||
"encoding/hex"
|
"encoding/hex"
|
||||||
"fmt"
|
"fmt"
|
||||||
"log"
|
"log"
|
||||||
|
|
Loading…
Reference in a new issue