aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.go b/main.go
index 6297ad9..75199f2 100644
--- a/main.go
+++ b/main.go
@@ -8,7 +8,7 @@ import (
"encoding/base64"
"flag"
"fmt"
- "io/ioutil"
+ "io"
"os"
"github.com/hashicorp/vault/shamir"
@@ -23,7 +23,7 @@ var (
func main() {
flag.Parse()
- buf, err := ioutil.ReadAll(os.Stdin)
+ buf, err := io.ReadAll(os.Stdin)
if err != nil {
fmt.Fprintln(os.Stderr, "failed to read the secret:", err)
os.Exit(1)