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

[v3.6.0] Update changelog, version numbers and .md files for release #194

Merged
merged 13 commits into from
May 21, 2024
32 changes: 16 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Clone This Repo
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Build
run: |
CFLAGS="-Wall -Wextra -DNDEBUG -DLIBRARY_LOG_LEVEL=LOG_DEBUG"
Expand All @@ -36,7 +36,7 @@ jobs:

- name: Archive Test Results
if: success() || failure()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: system_test_results
path: |
Expand All @@ -46,7 +46,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Clone This Repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- env:
stepName: Build corePKCS11 Sanitizer Unit Tests
Expand Down Expand Up @@ -74,7 +74,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Clone This Repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- env:
stepName: Build corePKCS11 Unit Tests
Expand Down Expand Up @@ -134,7 +134,7 @@ jobs:

- name: Archive Test Results
if: steps.build-unit-tests.outcome == 'success'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: unit_test_results
path: |
Expand All @@ -146,7 +146,7 @@ jobs:

- name: Upload coverage data to Codecov
if: steps.build-unit-tests.outcome == 'success'
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
files: build/coverage.info
flags: unit_tests
Expand All @@ -156,7 +156,7 @@ jobs:
complexity:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Check complexity
uses: FreeRTOS/CI-CD-Github-Actions/complexity@main
with:
Expand All @@ -166,7 +166,7 @@ jobs:
doxygen:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Check doxygen build
uses: FreeRTOS/CI-CD-Github-Actions/doxygen@main
with:
Expand All @@ -176,7 +176,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Clone This Repo
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Run spellings check
uses: FreeRTOS/CI-CD-Github-Actions/spellings@main
with:
Expand All @@ -185,7 +185,7 @@ jobs:
formatting:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Check formatting
uses: FreeRTOS/CI-CD-Github-Actions/formatting@main
with:
Expand All @@ -195,7 +195,7 @@ jobs:
link-verifier:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Check Links
uses: FreeRTOS/CI-CD-Github-Actions/link-verifier@main
with:
Expand All @@ -204,7 +204,7 @@ jobs:
verify-manifest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0
Expand All @@ -218,9 +218,9 @@ jobs:
git-secrets:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Checkout awslabs/git-secrets
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: awslabs/git-secrets
ref: master
Expand All @@ -235,7 +235,7 @@ jobs:
memory_statistics:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: git submodule update --init --recursive --checkout
- name: Fetch dependencies (mbedtls)
run: |
Expand All @@ -245,7 +245,7 @@ jobs:
-DSYSTEM_TESTS=0 \
-DCMAKE_C_FLAGS="${CFLAGS}"
- name: Install Python3
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.11.0"
- name: Measure sizes
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ github.event.inputs.commit_id }}
- name: Configure git identity
Expand Down Expand Up @@ -53,7 +53,7 @@ jobs:
- name: Install ZIP tools
run: sudo apt-get install zip unzip
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ github.event.inputs.commit_id }}
path: corePKCS11
Expand Down Expand Up @@ -91,7 +91,7 @@ jobs:
ctest -E system --output-on-failure
cd ..
- name: Create artifact of ZIP
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: corePKCS11-${{ github.event.inputs.version_number }}.zip
path: zip-check/corePKCS11-${{ github.event.inputs.version_number }}.zip
Expand Down Expand Up @@ -124,7 +124,7 @@ jobs:
draft: false
prerelease: false
- name: Download ZIP artifact
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: corePKCS11-${{ github.event.inputs.version_number }}.zip
- name: Upload Release Asset
Expand Down
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Change Log for corePKCS11 Library

## v3.6.0 (May 2024)
* [#195](https://github.com/FreeRTOS/corePKCS11/pull/195),[#196](https://github.com/FreeRTOS/corePKCS11/pull/196) Add more unit test to increase code coverage rate
* [#193](https://github.com/FreeRTOS/corePKCS11/pull/193) Fix the C_GetAttributeValue implementation in the mbedtls port to return CK_UNAVAILABLE_INFORMATION
* [#192](https://github.com/FreeRTOS/corePKCS11/pull/192) Use MBedTLS v3.6.0 LTS and v2.28.8 in mbedtls integration test
* [#190](https://github.com/FreeRTOS/corePKCS11/pull/190) Fix MISRA C 2012 deviations
* [#184](https://github.com/FreeRTOS/corePKCS11/pull/184) Support MBedTLS 3.5.1
* [#183](https://github.com/FreeRTOS/corePKCS11/pull/183) Support optional write generated private key and certificate to disk for fleet provisioning
* [#182](https://github.com/FreeRTOS/corePKCS11/pull/182) Fix incorrect RSA verify data length check
* [#178](https://github.com/FreeRTOS/corePKCS11/pull/178) Adjust prvAddObjectToList so that it adds or updates as necessary
* [#163](https://github.com/FreeRTOS/corePKCS11/pull/163) Update doxygen to 1.9.6

## v3.5.0 (October 2022)
* [#156](https://github.com/FreeRTOS/corePKCS11/pull/156) MISRA C:2012 compliance updates
* [#155](https://github.com/FreeRTOS/corePKCS11/pull/155) Update CBMC Starter kit
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ repositories.

### Generating Documentation

The Doxygen references were created using Doxygen version 1.9.2. To generate the
The Doxygen references were created using Doxygen version 1.9.6. To generate the
Doxygen pages, please run the following command from the root of this
repository:

Expand Down
2 changes: 1 addition & 1 deletion docs/doxygen/config.doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ PROJECT_NAME = corePKCS11
# could be handy for archiving the generated documentation or if some version
# control system is used.

PROJECT_NUMBER = v3.5.0
PROJECT_NUMBER = v3.6.0

# Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer a
Expand Down
2 changes: 1 addition & 1 deletion manifest.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: "corePKCS11"
version: "v3.5.0"
version: "v3.6.0"
description: "Software implementation of the PKCS #11 standard."
license: "MIT"

Expand Down
4 changes: 2 additions & 2 deletions source/core_pkcs11.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* corePKCS11 v3.5.0
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* corePKCS11 v3.6.0
* Copyright (C) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
*
Expand Down
4 changes: 2 additions & 2 deletions source/core_pki_utils.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* corePKCS11 v3.5.0
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* corePKCS11 v3.6.0
* Copyright (C) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
*
Expand Down
4 changes: 2 additions & 2 deletions source/dependency/3rdparty/mbedtls_utils/mbedtls_utils.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* corePKCS11 v3.5.0
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* corePKCS11 v3.6.0
* Copyright (C) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
*
Expand Down
4 changes: 2 additions & 2 deletions source/dependency/3rdparty/mbedtls_utils/mbedtls_utils.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* corePKCS11 v3.5.0
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* corePKCS11 v3.6.0
* Copyright (C) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
*
Expand Down
4 changes: 2 additions & 2 deletions source/include/core_pkcs11.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* corePKCS11 v3.5.0
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* corePKCS11 v3.6.0
* Copyright (C) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
*
Expand Down
4 changes: 2 additions & 2 deletions source/include/core_pkcs11_config_defaults.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* corePKCS11 v3.5.0
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* corePKCS11 v3.6.0
* Copyright (C) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
*
Expand Down
4 changes: 2 additions & 2 deletions source/include/core_pkcs11_pal.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* corePKCS11 v3.5.0
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* corePKCS11 v3.6.0
* Copyright (C) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
*
Expand Down
4 changes: 2 additions & 2 deletions source/include/core_pki_utils.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* corePKCS11 v3.5.0
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* corePKCS11 v3.6.0
* Copyright (C) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
*
Expand Down
4 changes: 2 additions & 2 deletions source/portable/mbedtls/core_pkcs11_mbedtls.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* corePKCS11 v3.5.0
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* corePKCS11 v3.6.0
* Copyright (C) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
*
Expand Down
4 changes: 2 additions & 2 deletions source/portable/os/core_pkcs11_pal_utils.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* corePKCS11 v3.5.0
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* corePKCS11 v3.6.0
* Copyright (C) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
*
Expand Down
4 changes: 2 additions & 2 deletions source/portable/os/core_pkcs11_pal_utils.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* corePKCS11 v3.5.0
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* corePKCS11 v3.6.0
* Copyright (C) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
*
Expand Down
4 changes: 2 additions & 2 deletions source/portable/os/freertos_winsim/core_pkcs11_pal.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* corePKCS11 v3.5.0
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* corePKCS11 v3.6.0
* Copyright (C) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
*
Expand Down
4 changes: 2 additions & 2 deletions source/portable/os/posix/core_pkcs11_pal.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* corePKCS11 v3.5.0
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* corePKCS11 v3.6.0
* Copyright (C) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
*
Expand Down
4 changes: 2 additions & 2 deletions test/cbmc/include/core_pkcs11_config.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* corePKCS11 v3.5.0
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* corePKCS11 v3.6.0
* Copyright (C) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
*
Expand Down
4 changes: 2 additions & 2 deletions test/cbmc/include/pkcs11_interface_stubs.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* corePKCS11 v3.5.0
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* corePKCS11 v3.6.0
* Copyright (C) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
*
Expand Down
4 changes: 2 additions & 2 deletions test/cbmc/proofs/C_CloseSession/C_CloseSession_harness.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* corePKCS11 v3.5.0
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* corePKCS11 v3.6.0
* Copyright (C) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
*
Expand Down
4 changes: 2 additions & 2 deletions test/cbmc/proofs/C_CreateObject/C_CreateObject_harness.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* corePKCS11 v3.5.0
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* corePKCS11 v3.6.0
* Copyright (C) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
*
Expand Down
4 changes: 2 additions & 2 deletions test/cbmc/proofs/C_DestroyObject/C_DestroyObject_harness.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* corePKCS11 v3.5.0
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* corePKCS11 v3.6.0
* Copyright (C) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
*
Expand Down
4 changes: 2 additions & 2 deletions test/cbmc/proofs/C_DigestFinal/C_DigestFinal_harness.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* corePKCS11 v3.5.0
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* corePKCS11 v3.6.0
* Copyright (C) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
*
Expand Down
4 changes: 2 additions & 2 deletions test/cbmc/proofs/C_DigestInit/C_DigestInit_harness.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* corePKCS11 v3.5.0
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* corePKCS11 v3.6.0
* Copyright (C) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* SPDX-License-Identifier: MIT
*
Expand Down
Loading
Loading