Merge commit 'refs/pull/83/head' of github.com:Foxboron/sbctl

This commit is contained in:
Morten Linderud 2021-07-22 21:09:32 +02:00
commit 868b0a9547
No known key found for this signature in database
GPG Key ID: E742683BA08CB2FF
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ func CreateKey(name string) ([]byte, []byte, error) {
func SaveKey(k []byte, file string) error {
os.MkdirAll(filepath.Dir(file), os.ModePerm)
err := os.WriteFile(file, k, 0644)
err := os.WriteFile(file, k, 0400)
if err != nil {
return err
}