WIP: Phase 2 #2

Draft
dubey wants to merge 27 commits from phase2 into main
5 changed files with 623 additions and 0 deletions
Showing only changes of commit 787262c8a0 - Show all commits

View File

@ -21,7 +21,7 @@ const (
// Default certificate validity period // Default certificate validity period
DefaultCertValidityDays = 365 // 1 year DefaultCertValidityDays = 365 // 1 year
// Default PKI directory // Default PKI directory
DefaultPKIDir = "/var/lib/kat/pki" DefaultPKIDir = "~/.kat/pki"
) )
// GenerateCA creates a new Certificate Authority key pair and certificate. // GenerateCA creates a new Certificate Authority key pair and certificate.