Reog and implement sqlite

This commit is contained in:
cheddar 2025-02-20 20:45:49 -05:00
parent 30cdf2c7e7
commit 61aa1be730
No known key found for this signature in database
9 changed files with 223 additions and 76 deletions

15
keydirectory/key_ids.go Normal file
View file

@ -0,0 +1,15 @@
package keydirectory
import "github.com/google/uuid"
func generateKeyId() (string, error) {
uuid, err := uuid.NewRandom()
if err != nil {
return "", err
}
keyId := uuid.String()
return keyId, nil
}