mirror of https://gitlab.com/gitlab-org/cli.git
Lint again
This commit is contained in:
parent
c3505f5e4f
commit
62361d942b
|
@ -2,11 +2,13 @@ package dpop
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"crypto/ecdsa"
|
"crypto/ecdsa"
|
||||||
|
"crypto/ed25519"
|
||||||
"crypto/rsa"
|
"crypto/rsa"
|
||||||
"encoding/base64"
|
"encoding/base64"
|
||||||
"fmt"
|
"fmt"
|
||||||
"github.com/golang-jwt/jwt/v5"
|
|
||||||
"math/big"
|
"math/big"
|
||||||
|
|
||||||
|
"github.com/golang-jwt/jwt/v5"
|
||||||
)
|
)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -32,9 +34,6 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
SOFTWARE.
|
SOFTWARE.
|
||||||
*/
|
*/
|
||||||
import (
|
|
||||||
"crypto/ed25519"
|
|
||||||
)
|
|
||||||
|
|
||||||
type ecdsaJWK struct {
|
type ecdsaJWK struct {
|
||||||
X string `json:"x"`
|
X string `json:"x"`
|
||||||
|
|
|
@ -7,11 +7,12 @@ import (
|
||||||
"encoding/base64"
|
"encoding/base64"
|
||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
"fmt"
|
||||||
"gitlab.com/gitlab-org/cli/commands/auth/generate/dpop"
|
|
||||||
"log"
|
"log"
|
||||||
"os"
|
"os"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
"gitlab.com/gitlab-org/cli/commands/auth/generate/dpop"
|
||||||
|
|
||||||
"gitlab.com/gitlab-org/cli/commands/cmdutils"
|
"gitlab.com/gitlab-org/cli/commands/cmdutils"
|
||||||
"gitlab.com/gitlab-org/cli/pkg/iostreams"
|
"gitlab.com/gitlab-org/cli/pkg/iostreams"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue