16 lines
195 B
Go
16 lines
195 B
Go
|
|
//go:build !linux
|
||
|
|
|
||
|
|
package config
|
||
|
|
|
||
|
|
import (
|
||
|
|
"github.com/awnumar/memguard"
|
||
|
|
)
|
||
|
|
|
||
|
|
func protect(secret []byte) error {
|
||
|
|
return nil
|
||
|
|
}
|
||
|
|
|
||
|
|
func ReleaseSecret(secret []byte) {
|
||
|
|
memguard.WipeBytes(secret)
|
||
|
|
}
|