Formatted.

This commit is contained in:
Carl Tashian 2022-03-30 16:08:10 -07:00
parent a13e58e340
commit 1ba1584c7a
2 changed files with 8 additions and 9 deletions

View file

@ -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()

View file

@ -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"