Compare commits
2 Commits
47843f202f
...
014a8a7c83
Author | SHA1 | Date | |
---|---|---|---|
014a8a7c83 | |||
44fc114dee |
@ -4,6 +4,7 @@ import (
|
|||||||
"archive/tar"
|
"archive/tar"
|
||||||
"bytes"
|
"bytes"
|
||||||
"crypto"
|
"crypto"
|
||||||
|
"encoding/base64"
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"fmt"
|
"fmt"
|
||||||
"io"
|
"io"
|
||||||
@ -112,6 +113,7 @@ func buildBootstrap(out io.Writer, ctx *renderContext) (err error) {
|
|||||||
err = fmt.Errorf("signing to %s failed: %w", name, err)
|
err = fmt.Errorf("signing to %s failed: %w", name, err)
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
sigBytes = []byte(base64.StdEncoding.EncodeToString(sigBytes))
|
||||||
|
|
||||||
if err = arch.WriteHeader(&tar.Header{
|
if err = arch.WriteHeader(&tar.Header{
|
||||||
Name: name,
|
Name: name,
|
||||||
|
Reference in New Issue
Block a user