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

RFC: keyset: switch 'PuzzlesOS' to 'Project' #57

Merged
merged 1 commit into from
Aug 18, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading