We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9831e32 commit 1ccd3cdCopy full SHA for 1ccd3cd
.python-version
@@ -0,0 +1 @@
1
+3.12
nfctokens/models.py
@@ -45,7 +45,7 @@ class NFCToken(models.Model):
45
),
46
# Common fixed UIDs, not unique
47
RegexValidator(
48
- regex=r"^(00000000|01020304|04ffffff|12345678|ffffffff)$",
+ regex=r"^(0{8}|0{14}|0{20}|f{8}|f{14}|f{20}|01020304|01020304050607|04ffffff|12345678)$",
49
message="This is a common fixed/non-unique UID which cannot be used for authentication",
50
inverse_match=True,
51
0 commit comments