Skip to content

Fix REUSE linter check #24

Fix REUSE linter check

Fix REUSE linter check #24

Triggered via push November 14, 2023 16:19
Status Failure
Total duration 31s
Artifacts

lint.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 6 warnings
lint: cmd/cmd.go#L13
could not import cunicu.li/hawkes/ecdh/applese (-: build constraints exclude all Go files in ecdh/applese) (typecheck)
lint: provider/applese.go#L11
could not import cunicu.li/hawkes/ecdh/applese (-: build constraints exclude all Go files in ecdh/applese) (typecheck)
lint: provider/applese.go#L14
cannot use (*appleSecureEnclaveKey)(nil) (value of type *appleSecureEnclaveKey) as PrivateKeyDH value in variable declaration: *appleSecureEnclaveKey does not implement PrivateKeyDH (missing method DH) (typecheck)
lint: provider/applese.go#L21
k.Public undefined (type *appleSecureEnclaveKey has no field or method Public) (typecheck)
lint: internal/openpgp/card.go#L12
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(cunicu.li/hawkes) -s blank -s dot --custom-order (gci)
lint: internal/openpgp/card.go#L13
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(cunicu.li/hawkes) -s blank -s dot --custom-order (gci)
lint: ecdh/openpgp/openpgp.go#L10
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(cunicu.li/hawkes) -s blank -s dot --custom-order (gci)
lint: internal/openpgp/objects.go#L145
cognitive complexity 118 of func `(*ApplicationRelated).Decode` is high (> 30) (gocognit)
lint: internal/openpgp/card.go#L138
`(*Card).send` - `cla` always receives `0x00` (`0`) (unparam)
lint: hmac/ykoath/ykoath.go#L67
var `errFailedToDisconnect` is unused (unused)
lint: internal/openpgp/card.go#L304
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
lint: internal/openpgp/card.go#L162
unused-parameter: parameter 't' seems to be unused, consider removing or renaming it as _ (revive)
lint: internal/openpgp/card.go#L242
unused-parameter: parameter 'data' seems to be unused, consider removing or renaming it as _ (revive)
lint: internal/openpgp/card.go#L247
unused-parameter: parameter 'data' seems to be unused, consider removing or renaming it as _ (revive)
lint: internal/openpgp/card.go#L252
unused-parameter: parameter 'data' seems to be unused, consider removing or renaming it as _ (revive)
lint: internal/test/test.go#L16
exported: func name will be used as test.TestKeypair by other packages, and that stutters; consider calling this Keypair (revive)