Skip to content

Commit

Permalink
feat(keyboxchecker/__init__.py): searchParams
Browse files Browse the repository at this point in the history
  • Loading branch information
real-LiHua committed Oct 31, 2024
1 parent 3451da3 commit b9c3269
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion keyboxchecker/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
from json import load
from os import getenv
from pathlib import Path
from secrets import token_urlsafe

from cryptography import x509
from cryptography.hazmat.primitives import hashes
Expand Down Expand Up @@ -34,7 +35,9 @@ def get_revoked_keybox_list():
return load(open(Path(".github") / "status"))["entries"]
else:
return get( # pylint: disable=W3101
"https://android.googleapis.com/attestation/status",
"https://android.googleapis.com/attestation/status?{}".format(
token_urlsafe()
),
headers={
"Cache-Control": "max-age=0, no-cache, no-store, must-revalidate",
"Pragma": "no-cache",
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "keyboxchecker"
version = "1.1.3"
version = "1.2.3"
description = ""
authors = ["Li Hua <[email protected]>"]
readme = "README.md"
Expand Down

0 comments on commit b9c3269

Please sign in to comment.