From 4c328f727c71346243d4949b38b43a6b7014f6d3 Mon Sep 17 00:00:00 2001 From: Eli Acherkan Date: Thu, 16 Nov 2023 08:21:57 +0200 Subject: [PATCH] 1128 - gofmt + goimports --- pkg/prompter/pinentry.go | 2 ++ pkg/provider/aad/aad_test.go | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/pkg/prompter/pinentry.go b/pkg/prompter/pinentry.go index cbb2503a7..86380fdd6 100644 --- a/pkg/prompter/pinentry.go +++ b/pkg/prompter/pinentry.go @@ -81,10 +81,12 @@ func (p *PinentryPrompter) String(pr string, defaultValue string) string { func (p *PinentryPrompter) Password(pr string) string { return p.DefaultPrompter.Password(pr) } + // Display is runniner the default Cli Display func (p *PinentryPrompter) Display(pr string) { p.DefaultPrompter.Display(pr) } + // Run wraps a pinentry run. It sends the query to pinentry via stdin and // reads its stdout to determine the user PIN. // Pinentry uses an Assuan protocol diff --git a/pkg/provider/aad/aad_test.go b/pkg/provider/aad/aad_test.go index d74ca804e..40100e949 100644 --- a/pkg/provider/aad/aad_test.go +++ b/pkg/provider/aad/aad_test.go @@ -8,7 +8,6 @@ import ( "encoding/hex" "encoding/json" "fmt" - "github.com/stretchr/testify/mock" "io" "math" mrand "math/rand" @@ -20,6 +19,8 @@ import ( "testing" "text/template" + "github.com/stretchr/testify/mock" + "github.com/google/uuid" "github.com/stretchr/testify/require"