Cleanups #12
Annotations
10 errors and 6 warnings
cmd/cmd.go#L13
could not import cunicu.li/hawkes/ecdh/applese (-: build constraints exclude all Go files in ecdh/applese) (typecheck)
|
provider/applese.go#L11
could not import cunicu.li/hawkes/ecdh/applese (-: build constraints exclude all Go files in ecdh/applese) (typecheck)
|
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)
|
provider/applese.go#L21
k.Public undefined (type *appleSecureEnclaveKey has no field or method Public) (typecheck)
|
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)
|
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)
|
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)
|
internal/openpgp/objects.go#L145
cognitive complexity 118 of func `(*ApplicationRelated).Decode` is high (> 30) (gocognit)
|
internal/openpgp/card.go#L138
`(*Card).send` - `cla` always receives `0x00` (`0`) (unparam)
|
hmac/ykoath/ykoath.go#L67
var `errFailedToDisconnect` is unused (unused)
|
internal/openpgp/card.go#L304
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
|
internal/openpgp/card.go#L162
unused-parameter: parameter 't' seems to be unused, consider removing or renaming it as _ (revive)
|
internal/openpgp/card.go#L242
unused-parameter: parameter 'data' seems to be unused, consider removing or renaming it as _ (revive)
|
internal/openpgp/card.go#L247
unused-parameter: parameter 'data' seems to be unused, consider removing or renaming it as _ (revive)
|
internal/openpgp/card.go#L252
unused-parameter: parameter 'data' seems to be unused, consider removing or renaming it as _ (revive)
|
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)
|
The logs for this run have expired and are no longer available.
Loading