remove unused files
This commit is contained in:
parent
207b58ac67
commit
47923f3c62
|
@ -1,5 +1,5 @@
|
||||||
jobs:
|
jobs:
|
||||||
- name: downgrade_expired_plan
|
- name: SimpleLogin cronjob
|
||||||
command: python /code/cron.py
|
command: python /code/cron.py
|
||||||
shell: /bin/bash
|
shell: /bin/bash
|
||||||
schedule: "0 0 * * *"
|
schedule: "0 0 * * *"
|
||||||
|
|
|
@ -1,17 +0,0 @@
|
||||||
"""
|
|
||||||
ssh-keygen -t rsa -b 4096 -m PEM -f jwtRS256.key
|
|
||||||
# Don't add passphrase
|
|
||||||
openssl rsa -in jwtRS256.key -pubout -outform PEM -out jwtRS256.key.pub
|
|
||||||
|
|
||||||
"""
|
|
||||||
from jwcrypto import jwk, jws, jwt
|
|
||||||
|
|
||||||
with open("jwtRS256.key", "rb") as f:
|
|
||||||
key = jwk.JWK.from_pem(f.read())
|
|
||||||
|
|
||||||
Token = jwt.JWT(header={"alg": "RS256"}, claims={"info": "I'm a signed token"})
|
|
||||||
Token.make_signed_token(key)
|
|
||||||
print(Token.serialize())
|
|
||||||
|
|
||||||
# verify
|
|
||||||
jwt.JWT(key=key, jwt=Token.serialize())
|
|
|
@ -1,18 +0,0 @@
|
||||||
[tool.black]
|
|
||||||
exclude = '''
|
|
||||||
(
|
|
||||||
/(
|
|
||||||
\.eggs # exclude a few common directories in the
|
|
||||||
| \.git # root of the project
|
|
||||||
| \.hg
|
|
||||||
| \.mypy_cache
|
|
||||||
| \.tox
|
|
||||||
| \.venv
|
|
||||||
| _build
|
|
||||||
| buck-out
|
|
||||||
| build
|
|
||||||
| dist
|
|
||||||
| migrations # migrations/ is generated by alembic
|
|
||||||
)/
|
|
||||||
)
|
|
||||||
'''
|
|
Loading…
Reference in New Issue