Skip to content
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

V0.10.0 #80

Merged
merged 28 commits into from
Mar 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: GitHub actions
name: GitHub actions detailed

on:
push:
branches: [ "**" ]
branches: ["**"]
pull_request:
branches: [ "**" ]
branches: ["**"]
repository_dispatch:
types: [ "**" ]
types: ["**"]

permissions:
contents: read
Expand All @@ -20,7 +20,7 @@ jobs:
build:
strategy:
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}

steps:
Expand All @@ -42,7 +42,7 @@ jobs:
git clone --branch main --single-branch --depth 1 https://github.com/open-quantum-safe/liboqs
cmake -S liboqs -B liboqs/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DBUILD_SHARED_LIBS=ON -DOQS_BUILD_ONLY_LIB=ON
cmake --build liboqs/build --parallel 4
sudo cmake --build liboqs/build --target install
sudo cmake --build liboqs/build --target install

- name: Run examples POSIX
if: matrix.os != 'windows-latest'
Expand Down
39 changes: 39 additions & 0 deletions .github/workflows/python_simplified.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: GitHub actions simplified

on:
push:
branches: ["**"]
pull_request:
branches: ["**"]
repository_dispatch:
types: ["**"]

permissions:
contents: read

jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v3

- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"

- name: Run examples
run: |
python -m pip install --upgrade pip
pip install .
python examples/kem.py
python examples/sig.py
python examples/rand.py

- name: Run unit tests
run: |
nose2 --verbose
66 changes: 66 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
# Version 0.10.0 - March 28, 2024

- Replaced CHANGES by
[CHANGES.md](https://github.com/open-quantum-safe/liboqs-python/blob/main/CHANGES.md),
as we now use Markdown format to keep track of changes in new releases
- Removed the NIST PRNG as the latter is no longer exposed by liboqs' public
API
- liboqs is now installed automatically if not detected at runtime

# Version 0.9.0 - October 30, 2023

- This is a maintenance release, minor deprecation fixes
- Python minimum required version is enforced to Python 3.8 in `pyproject.toml`
- To follow Python conventions, renamed in `oqs/oqs.py`:
- `is_KEM_enabled()` -> `is_kem_enabled()`
- `get_enabled_KEM_mechanisms()` -> `get_enabled_kem_mechanisms()`
- `get_supported_KEM_mechanisms()` -> `get_supported_kem_mechanisms()`

# Version 0.8.0 - July 5, 2023

- This is a maintenance release, minor fixes
- Minimalistic Docker support
- Migrated installation method to `pyproject.toml`
- Removed AppVeyor and CircleCI, all continuous integration is now done via
GitHub actions

# Version 0.7.2 - August 27, 2022

- Added library version retrieval functions:
- `oqs_version()`
- `oqs_python_version()`

# Version 0.7.1 - January 5, 2022

- Release numbering updated to match liboqs
- Added macOS support on CircleCI, we now support macOS & Linux (CircleCI) and
Windows (AppVeyor)

# Version 0.4.0 - November 28, 2020

- Renamed 'master' branch to 'main'

# Version 0.3.0 - June 10, 2020

- The liboqs handle has now module-private visibility in `oqs.py` so clients
can not access it directly; can be accessed via the new `oqs.native()`
function
- Closing
#7 [link](https://github.com/open-quantum-safe/liboqs-python/issues/7), all
issues addressed
- Added AppVeyor continuous integration

# Version 0.2.1 - January 22, 2020

- Added a signature example
- Added partial support for RNGs from `<oqs/rand.h>`
- Added an RNG example

# Version 0.2.0 - October 8, 2019

- This release updates for compatibility with liboqs 0.2.0, which contains
new/updated algorithms based on NIST Round 2 submissions.

# Version 0.1.0 - April 23, 2019

- Initial release
47 changes: 0 additions & 47 deletions CHANGES.txt

This file was deleted.

2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2018-2023 Open Quantum Safe
Copyright (c) 2018-2024 Open Quantum Safe

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
Loading
Loading