Skip to content

Commit

Permalink
Version 0.10.0 (#37)
Browse files Browse the repository at this point in the history
Version 0.10.0
  • Loading branch information
vsoftco authored Mar 27, 2024
1 parent 22b7b24 commit b7b86c1
Show file tree
Hide file tree
Showing 21 changed files with 320 additions and 214 deletions.
9 changes: 9 additions & 0 deletions .config-static/liboqs-go.pc
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
LIBOQS_INCLUDE_DIR=/usr/local/include
LIBOQS_LIB_DIR=/usr/local/lib

Name: liboqs-go
Description: Go bindings for liboqs, a C library for quantum resistant cryptography
Version: 0.10.0
Cflags: -I${LIBOQS_INCLUDE_DIR}
Ldflags: '-extldflags "-Wl,-stack_size -Wl,0x1000000"'
Libs: -L${LIBOQS_LIB_DIR} -Wl,-Bstatic -loqs -lcrypto -Wl,-Bdynamic
9 changes: 9 additions & 0 deletions .config-static/liboqs-go.pc.linux
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
LIBOQS_INCLUDE_DIR=/usr/local/include
LIBOQS_LIB_DIR=/usr/local/lib

Name: liboqs-go
Description: Go bindings for liboqs, a C library for quantum resistant cryptography
Version: 0.10.0
Cflags: -I${LIBOQS_INCLUDE_DIR}
Ldflags: '-extldflags "-Wl,-stack_size -Wl,0x1000000"'
Libs: -L${LIBOQS_LIB_DIR} -Wl,-Bstatic -loqs -lcrypto -Wl,-Bdynamic
9 changes: 9 additions & 0 deletions .config-static/liboqs-go.pc.win64
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
LIBOQS_INCLUDE_DIR=C:/liboqs/include
LIBOQS_LIB_DIR=C:/liboqs/lib

Name: liboqs-go
Description: Go bindings for liboqs, a C library for quantum resistant cryptography
Version: 0.10.0
Cflags: -I${LIBOQS_INCLUDE_DIR}
Ldflags: '-extldflags "-Wl,-stack_size -Wl,0x1000000"'
Libs: -L${LIBOQS_LIB_DIR} -Wl,-Bstatic -loqs -lcrypto -Wl,-Bdynamic
6 changes: 3 additions & 3 deletions .config/liboqs.pc → .config/liboqs-go.pc
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
LIBOQS_INCLUDE_DIR=/usr/local/include
LIBOQS_LIB_DIR=/usr/local/lib

Name: liboqs
Description: C library for quantum resistant cryptography
Version: 0.9.0
Name: liboqs-go
Description: Go bindings for liboqs, a C library for quantum resistant cryptography
Version: 0.10.0
Cflags: -I${LIBOQS_INCLUDE_DIR}
Ldflags: '-extldflags "-Wl,-stack_size -Wl,0x1000000"'
Libs: -L${LIBOQS_LIB_DIR} -loqs
6 changes: 3 additions & 3 deletions .config/liboqs.pc.linux → .config/liboqs-go.pc.linux
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
LIBOQS_INCLUDE_DIR=/usr/local/include
LIBOQS_LIB_DIR=/usr/local/lib

Name: liboqs
Description: C library for quantum resistant cryptography
Version: 0.8.0
Name: liboqs-go
Description: Go bindings for liboqs, a C library for quantum resistant cryptography
Version: 0.10.0
Cflags: -I${LIBOQS_INCLUDE_DIR}
Ldflags: '-extldflags "-Wl,-stack_size -Wl,0x1000000"'
Libs: -L${LIBOQS_LIB_DIR} -loqs
6 changes: 3 additions & 3 deletions .config/liboqs.pc.win64 → .config/liboqs-go.pc.win64
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
LIBOQS_INCLUDE_DIR=C:/liboqs/include
LIBOQS_LIB_DIR=C:/liboqs/lib

Name: liboqs
Description: C library for quantum resistant cryptography
Version: 0.8.0
Name: liboqs-go
Description: Go bindings for liboqs, a C library for quantum resistant cryptography
Version: 0.10.0
Cflags: -I${LIBOQS_INCLUDE_DIR}
Ldflags: '-extldflags "-Wl,-stack_size -Wl,0x1000000"'
Libs: -L${LIBOQS_LIB_DIR} -loqs
10 changes: 5 additions & 5 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ name: GitHub actions

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

env:
BUILD_TYPE: Debug
Expand All @@ -19,7 +19,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 Down Expand Up @@ -67,7 +67,7 @@ jobs:
if: matrix.os == 'windows-latest'
shell: cmd
run: |
copy .\.config\liboqs.pc.win64 ${{env.WIN_PKG_CONFIG_PATH}}\liboqs.pc
copy .\.config\liboqs-go.pc.win64 ${{env.WIN_PKG_CONFIG_PATH}}\liboqs-go.pc
- name: Run examples Windows
if: matrix.os == 'windows-latest'
Expand Down
69 changes: 69 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
# Version 0.10.0 - March 27, 2024

- Bumped Go version to 1.21
- Replaced ["CHANGES"] by ["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
- Added the
[".config-static"](https://github.com/open-quantum-safe/liboqs-go/tree/main/.config-static)
pkg-config configuration directory for linking statically against liboqs, see
["README.md"](https://github.com/open-quantum-safe/liboqs-go/blob/main/README.md)
for more details.

# Version 0.9.0 - October 30, 2023

- No modifications, release bumped to match the latest release of liboqs

# Version 0.8.0 - July 5, 2023

- This is a maintenance release, minor fixes
- Minimalistic Docker support
- Go minimum required version bumped to 1.15
- Removed AppVeyor and CircleCI, all continuous integration is now done via
GitHub actions

# Version 0.7.2 - August 26, 2022

- Added liboqs library version retrieval function `LiboqsVersion() string`

# Version 0.7.1 - January 5, 2022

- Release numbering updated to match liboqs
- Switched continuous integration from Travis CI to CircleCI, we now support
macOS & Linux (CircleCI) and Windows (AppVeyor)

# Version 0.4.0 - November 28, 2020

- Bugfixes
- Renamed 'master' branch to 'main'

# Version 0.3.0 - June 10, 2020

- Full Windows support and AppVeyor continuous integration
- Minor fixes

# Version 0.2.2 - December 10, 2019

- Changed panics to errors in the API

# Version 0.2.1 - November 7, 2019

- Added a client/server KEM over TCP/IP example

# Version 0.2.0 - November 2, 2019

- Minor API change to account for Go naming conventions
- Concurrent unit testing

# Version 0.1.2 - October 31, 2019

- Added support for RNGs from `<oqs/rand.h>`

# Version 0.1.1 - October 24, 2019

- Added support for Go modules

# Version 0.1.0 - October 22, 2019

- Initial release
48 changes: 0 additions & 48 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) 2019-2023 Open Quantum Safe
Copyright (c) 2019-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

0 comments on commit b7b86c1

Please sign in to comment.