Skip to content
This repository has been archived by the owner on Sep 6, 2023. It is now read-only.

Commit

Permalink
RFC: keyset: switch 'PuzzlesOS' to 'Project'
Browse files Browse the repository at this point in the history
Signed-off-by: Serge Hallyn <[email protected]>
  • Loading branch information
hallyn committed Aug 18, 2023
1 parent c502fdc commit 2720dcf
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions cmd/trust/keyset.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,8 @@ func initkeyset(keysetName string, Org []string) error {

// Prepare certificate template

//OU := fmt.Sprintf("PuzzlesOS Machine Project %s", keysetName)
caTemplate.Subject.Organization = Org
caTemplate.Subject.OrganizationalUnit = []string{"PuzzlesOS Machine Project " + keysetName}
caTemplate.Subject.OrganizationalUnit = []string{"Project Machine Project " + keysetName}
caTemplate.Subject.CommonName = "Manifest rootCA"
caTemplate.NotBefore = time.Now()
caTemplate.NotAfter = time.Now().AddDate(25, 0, 0)
Expand Down Expand Up @@ -155,7 +154,7 @@ func initkeyset(keysetName string, Org []string) error {

// Generate additional MOS credentials
certTemplate.Subject.Organization = Org
certTemplate.Subject.OrganizationalUnit = []string{"PuzzlesOS Machine Project " + keysetName}
certTemplate.Subject.OrganizationalUnit = []string{"Project Machine Project " + keysetName}
certTemplate.NotBefore = time.Now()
certTemplate.NotAfter = time.Now().AddDate(25, 0, 0)
certTemplate.KeyUsage = x509.KeyUsageDigitalSignature
Expand Down

0 comments on commit 2720dcf

Please sign in to comment.