Skip to content

Commit 8afaa23

Browse files
committed
Update go/ql/lib/semmle/go/security/Jwt.qll
1 parent 304998d commit 8afaa23

File tree

1 file changed

+1
-1
lines changed
  • go/ql/lib/semmle/go/security

1 file changed

+1
-1
lines changed

go/ql/lib/semmle/go/security/Jwt.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ private class GinJwtSign extends HardcodedCredentials::Sink {
3535
private class SquareJoseKey extends HardcodedCredentials::Sink {
3636
SquareJoseKey() {
3737
exists(Field f, string pkg |
38-
pkg = ["github.com/square/go-jose/v3", "gopkg.in/square/go-jose.v2"]
38+
pkg = [package("github.com/square/go-jose", ""), "gopkg.in/square/go-jose.v2"]
3939
|
4040
f.hasQualifiedName(pkg, ["Recipient", "SigningKey"], "Key") and
4141
f.getAWrite().getRhs() = this

0 commit comments

Comments
 (0)