diff --git a/crontab.yml b/crontab.yml index 95773094..579277c2 100644 --- a/crontab.yml +++ b/crontab.yml @@ -1,5 +1,5 @@ jobs: - - name: downgrade_expired_plan + - name: SimpleLogin cronjob command: python /code/cron.py shell: /bin/bash schedule: "0 0 * * *" diff --git a/poc/__init__.py b/poc/__init__.py deleted file mode 100644 index e69de29b..00000000 diff --git a/poc/jwt-jws-jwk.py b/poc/jwt-jws-jwk.py deleted file mode 100644 index bae64f29..00000000 --- a/poc/jwt-jws-jwk.py +++ /dev/null @@ -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()) diff --git a/pyproject.toml b/pyproject.toml deleted file mode 100644 index c28585e0..00000000 --- a/pyproject.toml +++ /dev/null @@ -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 - )/ -) -''' \ No newline at end of file