Skip to content

Release 1.4.1 #79

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 27 commits into from
Mar 19, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
f8cfa89
Human message regarding minimum client_secret length
peppelinux Oct 16, 2020
61d1e9d
Merge pull request #72 from IdentityPython/human_message_secret_len
rohe Oct 17, 2020
48745b3
Removed unused import
rohe Oct 29, 2020
a0e26ce
Removed reference to Python 3.5 which is not supported.
rohe Oct 29, 2020
545e53a
Merge branch 'develop' of github.com:IdentityPython/JWTConnect-Python…
rohe Oct 29, 2020
d4a2428
cryptography.utils.int_from_bytes deprecated, use int.from_bytes instead
jschlyter Feb 20, 2021
4c646d5
install rustc
jschlyter Feb 20, 2021
f3ede73
add cargo
jschlyter Feb 20, 2021
acc8615
Merge pull request #76 from jschlyter/int_from_bytes
jschlyter Feb 22, 2021
b5b576c
Python 3.9 released, no need to build with 3.9-dev
jschlyter Mar 17, 2021
2bcc2f1
use poetry
jschlyter Mar 17, 2021
f9ea9f1
add actions
jschlyter Mar 17, 2021
c1fbcd7
fix license
jschlyter Mar 17, 2021
62c9304
add CodeQL
jschlyter Mar 17, 2021
1d6202d
remove travis
jschlyter Mar 17, 2021
81c5f59
add codecov
jschlyter Mar 17, 2021
dcbeeb3
add codecov
jschlyter Mar 17, 2021
1dada4a
build on develop
jschlyter Mar 17, 2021
32bc83e
more
jschlyter Mar 17, 2021
2e1d1b8
add 3.9
jschlyter Mar 17, 2021
5c536df
add release action
jschlyter Mar 17, 2021
c9de80c
Merge pull request #78 from jschlyter/poetry
jschlyter Mar 18, 2021
1e59a42
upload coverage using codecov/codecov-action
jschlyter Mar 18, 2021
1a73372
add coverage
jschlyter Mar 18, 2021
3a429ab
more coverage
jschlyter Mar 18, 2021
23c88b5
bump version
jschlyter Mar 18, 2021
836d3de
Merge branch 'master' into develop
jschlyter Mar 18, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
67 changes: 67 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"

on:
push:
branches: [ develop ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ develop ]
schedule:
- cron: '22 14 * * 2'

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
language: [ 'python' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
# Learn more:
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed

steps:
- name: Checkout repository
uses: actions/checkout@v2

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl

# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language

#- run: |
# make bootstrap
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
19 changes: 19 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Publish to PyPI

on:
release:
types: [published]

jobs:
pypi_release:
name: Build with Poetry and Publish to PyPI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- name: Install and configure Poetry
run: |
pip install poetry
poetry config pypi-token.pypi "${{ secrets.PYPI_TOKEN }}"
- name: Publish package
run: poetry publish --build
44 changes: 44 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Test

on:
- push
- pull_request

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- 3.6
- 3.7
- 3.8
- 3.9
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Get full python version
id: full-python-version
run: |
echo ::set-output name=version::$(python -c "import sys; print('-'.join(str(v) for v in sys.version_info[:3]))")
- name: Set up cache
uses: actions/cache@v2
with:
path: .venv
key: ${{ runner.os }}-venv-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('**/poetry.lock') }}
- name: Install and configure Poetry
run: |
pip install poetry
poetry config virtualenvs.in-project true
- name: Install dependencies
run: poetry install
- name: Run pytest
run: |
poetry run pytest -vvv -ra --cov=cryptojwt --cov-report=xml --isort --black
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
31 changes: 0 additions & 31 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# cryptojwt

![License](https://img.shields.io/badge/license-Apache%202-blue.svg)
![Python version](https://img.shields.io/badge/python-3.6%20%7C%203.7%203.8-blue.svg)
![Python version](https://img.shields.io/badge/python-3.6%20%7C%203.7%7C%203.8%20%7C%203.9-blue.svg)

An implementation of the JSON cryptographic specs JWS, JWE, JWK, and JWA [RFC 7515-7518] and JSON Web Token (JWT) [RFC 7519]

Expand Down
Loading