2022-12-09 00:53:06 +08:00
|
|
|
//go:build !linux
|
|
|
|
|
|
|
|
|
|
package config
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
"github.com/awnumar/memguard"
|
|
|
|
|
)
|
|
|
|
|
|
2023-03-28 17:46:32 +08:00
|
|
|
func protect(_ []byte) error {
|
2022-12-09 00:53:06 +08:00
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func ReleaseSecret(secret []byte) {
|
|
|
|
|
memguard.WipeBytes(secret)
|
|
|
|
|
}
|