Skip to content

Commit

Permalink
Prepare 3.0.0 (#347)
Browse files Browse the repository at this point in the history
* Bump version to 3.0.0

* Update changelog

* Update changelog to the Github format

* Add ruby-version

* Fix copyright script

* Update license header year - happy new year

* Update release script

---------

Co-authored-by: Daniel <[email protected]>
  • Loading branch information
haeser and daniel-moh authored Aug 27, 2024
1 parent 09f014e commit c2664a9
Show file tree
Hide file tree
Showing 130 changed files with 156 additions and 161 deletions.
1 change: 1 addition & 0 deletions .ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.3.0
26 changes: 26 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,32 @@ All notable changes to this project will be documented in this file.

Include references to issue- or pull-request numbers.

## [3.0.0] - 2024-08-27

### What's Changed

* added watchos build-ability to SPM package by @mcecunda in https://github.com/airsidemobile/JOSESwift/pull/264
* Fix linter warnings by @antonyalkmim in https://github.com/airsidemobile/JOSESwift/pull/293
* Update target platforms and fix tests by @daniel-moh in https://github.com/airsidemobile/JOSESwift/pull/310
* Add support for public and private header parameters by @daniel-moh in https://github.com/airsidemobile/JOSESwift/pull/312
* [JWE] Added support for `A256GCM` and `A128GCM` by @tobihagemann in https://github.com/airsidemobile/JOSESwift/pull/278
* Updates search path for Mac silicon SwiftLint functionality in Xcode by @haeser in https://github.com/airsidemobile/JOSESwift/pull/311
* Add ECDH support for JWE Key Management continuation of #268 by @anthony-dedieu-ariadnext in https://github.com/airsidemobile/JOSESwift/pull/314
* Add support for PBES2 by @tobihagemann in https://github.com/airsidemobile/JOSESwift/pull/304
* Add support for A192CBC-HS384 and A192GCM by @daniel-moh in https://github.com/airsidemobile/JOSESwift/pull/341
* Allow for plugging in user-provided crypto implementations via customization API by @daniel-moh in https://github.com/airsidemobile/JOSESwift/pull/343
* Reorganize source files into directories by @daniel-moh in https://github.com/airsidemobile/JOSESwift/pull/344
* Remove deprecated APIs by @daniel-moh in https://github.com/airsidemobile/JOSESwift/pull/345
* Update signer and verifier init param name and fix typos by @daniel-moh in https://github.com/airsidemobile/JOSESwift/pull/346

### New Contributors
* @mcecunda made their first contribution in https://github.com/airsidemobile/JOSESwift/pull/264
* @antonyalkmim made their first contribution in https://github.com/airsidemobile/JOSESwift/pull/293
* @anthony-dedieu-ariadnext made their first contribution in https://github.com/airsidemobile/JOSESwift/pull/314
* @daniel-moh made their first contribution in https://github.com/airsidemobile/JOSESwift/pull/310

**Full Changelog**: https://github.com/airsidemobile/JOSESwift/compare/2.4.0...3.3.0

## [2.4.0] - 2021-04-20

- Use timing safe byte comparison for AES CBC MAC checks (#259)
Expand Down
2 changes: 1 addition & 1 deletion JOSESwift.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "JOSESwift"
s.version = "2.4.0"
s.version = "3.0.0"
s.license = "Apache License, Version 2.0"

s.summary = "JOSE framework for Swift"
Expand Down
2 changes: 1 addition & 1 deletion JOSESwift/Sources/Common/ASN1DEREncoding.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// Created by Daniel Egger on 08.02.18.
//
// ---------------------------------------------------------------------------
// Copyright 2019 Airside Mobile Inc.
// Copyright 2024 Airside Mobile Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion JOSESwift/Sources/Common/ASN1DERParsing.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// Created by Daniel Egger on 06.02.18.
//
// ---------------------------------------------------------------------------
// Copyright 2019 Airside Mobile Inc.
// Copyright 2024 Airside Mobile Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion JOSESwift/Sources/Common/AlgorithmExtensions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// Created by Daniel Egger on 12.02.20.
//
// ---------------------------------------------------------------------------
// Copyright 2020 Airside Mobile Inc.
// Copyright 2024 Airside Mobile Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion JOSESwift/Sources/Common/Algorithms.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Modified by Jarrod Moldrich on 02.07.18.
//
// ---------------------------------------------------------------------------
// Copyright 2019 Airside Mobile Inc.
// Copyright 2024 Airside Mobile Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion JOSESwift/Sources/Common/DataConvertible.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// Created by Daniel Egger on 26/09/2017.
//
// ---------------------------------------------------------------------------
// Copyright 2019 Airside Mobile Inc.
// Copyright 2024 Airside Mobile Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion JOSESwift/Sources/Common/DataExtensions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// Created by Daniel Egger on 22/09/2017.
//
// ---------------------------------------------------------------------------
// Copyright 2019 Airside Mobile Inc.
// Copyright 2024 Airside Mobile Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion JOSESwift/Sources/Common/Deserializer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// Created by Daniel Egger on 26/09/2017.
//
// ---------------------------------------------------------------------------
// Copyright 2019 Airside Mobile Inc.
// Copyright 2024 Airside Mobile Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion JOSESwift/Sources/Common/JOSEHeader.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// Created by Daniel Egger on 20/09/2017.
//
// ---------------------------------------------------------------------------
// Copyright 2019 Airside Mobile Inc.
// Copyright 2024 Airside Mobile Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion JOSESwift/Sources/Common/JOSESwiftError.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Modified by Jarrod Moldrich on 02.07.18.
//
// ---------------------------------------------------------------------------
// Copyright 2019 Airside Mobile Inc.
// Copyright 2024 Airside Mobile Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion JOSESwift/Sources/Common/Payload.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// Created by Daniel Egger on 20/09/2017.
//
// ---------------------------------------------------------------------------
// Copyright 2019 Airside Mobile Inc.
// Copyright 2024 Airside Mobile Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion JOSESwift/Sources/Common/Serializer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// Created by Daniel Egger on 21/09/2017.
//
// ---------------------------------------------------------------------------
// Copyright 2019 Airside Mobile Inc.
// Copyright 2024 Airside Mobile Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion JOSESwift/Sources/CryptoPrimitives/AESCBC/AES.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// Created by Carol Capek on 04.01.18.
//
// ---------------------------------------------------------------------------
// Copyright 2019 Airside Mobile Inc.
// Copyright 2024 Airside Mobile Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion JOSESwift/Sources/CryptoPrimitives/EC/EC.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// Created by Jarrod Moldrich on 02.07.18.
//
// ---------------------------------------------------------------------------
// Copyright 2019 Airside Mobile Inc.
// Copyright 2024 Airside Mobile Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion JOSESwift/Sources/CryptoPrimitives/HMAC/HMAC.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// Created by Carol Capek on 05.12.17.
//
// ---------------------------------------------------------------------------
// Copyright 2019 Airside Mobile Inc.
// Copyright 2024 Airside Mobile Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion JOSESwift/Sources/CryptoPrimitives/PBES2/PBES2.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// Created by Tobias Hagemann on 07.12.23.
//
// ---------------------------------------------------------------------------
// Copyright 2023 Airside Mobile Inc.
// Copyright 2024 Airside Mobile Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion JOSESwift/Sources/CryptoPrimitives/RSA/RSA.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// Created by Carol Capek on 06.02.18.
//
// ---------------------------------------------------------------------------
// Copyright 2019 Airside Mobile Inc.
// Copyright 2024 Airside Mobile Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// Created by Carol Capek on 07.12.17.
//
// ---------------------------------------------------------------------------
// Copyright 2019 Airside Mobile Inc.
// Copyright 2024 Airside Mobile Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion JOSESwift/Sources/CryptoPrimitives/SHA/Thumbprint.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// Created by Thomas Torp on 08.06.20.
//
// ---------------------------------------------------------------------------
// Copyright 2019 Airside Mobile Inc.
// Copyright 2024 Airside Mobile Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion JOSESwift/Sources/JWE/Compression/Compressor.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// Created by Florian Häser on 13.02.19.
//
// ---------------------------------------------------------------------------
// Copyright 2019 Airside Mobile Inc.
// Copyright 2024 Airside Mobile Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion JOSESwift/Sources/JWE/Compression/DeflateWrapper.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
// licensed under Apache License, Version 2.0
//
// ---------------------------------------------------------------------------
// Copyright 2019 Airside Mobile Inc.
// Copyright 2024 Airside Mobile Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// Created by Daniel Egger on 12.02.20.
//
// ---------------------------------------------------------------------------
// Copyright 2020 Airside Mobile Inc.
// Copyright 2024 Airside Mobile Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// Created by Daniel Egger on 12.02.20.
//
// ---------------------------------------------------------------------------
// Copyright 2020 Airside Mobile Inc.
// Copyright 2024 Airside Mobile Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// Created by Tobias Hagemann on 12.08.22.
//
// ---------------------------------------------------------------------------
// Copyright 2022 Airside Mobile Inc.
// Copyright 2024 Airside Mobile Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion JOSESwift/Sources/JWE/Decrypter.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// Created by Daniel Egger on 17/10/2017.
//
// ---------------------------------------------------------------------------
// Copyright 2019 Airside Mobile Inc.
// Copyright 2024 Airside Mobile Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion JOSESwift/Sources/JWE/Encrypter.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// Created by Daniel Egger on 13/10/2017.
//
// ---------------------------------------------------------------------------
// Copyright 2019 Airside Mobile Inc.
// Copyright 2024 Airside Mobile Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion JOSESwift/Sources/JWE/JWE.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// Created by Daniel Egger on 12/10/2017.
//
// ---------------------------------------------------------------------------
// Copyright 2019 Airside Mobile Inc.
// Copyright 2024 Airside Mobile Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion JOSESwift/Sources/JWE/JWEHeader.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// Created by Daniel Egger on 12/10/2017.
//
// ---------------------------------------------------------------------------
// Copyright 2019 Airside Mobile Inc.
// Copyright 2024 Airside Mobile Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// Created by Daniel Egger on 17.02.20.
//
// ---------------------------------------------------------------------------
// Copyright 2020 Airside Mobile Inc.
// Copyright 2024 Airside Mobile Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// Created by Daniel Egger on 12.02.20.
//
// ---------------------------------------------------------------------------
// Copyright 2020 Airside Mobile Inc.
// Copyright 2024 Airside Mobile Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// Created by Tobias Hagemann on 08.12.23.
//
// ---------------------------------------------------------------------------
// Copyright 2023 Airside Mobile Inc.
// Copyright 2024 Airside Mobile Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// Created by Daniel Egger on 13/10/2017.
//
// ---------------------------------------------------------------------------
// Copyright 2019 Airside Mobile Inc.
// Copyright 2024 Airside Mobile Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// Created by Daniel Egger on 12.02.20.
//
// ---------------------------------------------------------------------------
// Copyright 2020 Airside Mobile Inc.
// Copyright 2024 Airside Mobile Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion JOSESwift/Sources/JWK/EC/DataECPrivateKey.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// Created by Jarrod Moldrich on 10.01.2019.
//
// ---------------------------------------------------------------------------
// Copyright 2019 Airside Mobile Inc.
// Copyright 2024 Airside Mobile Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion JOSESwift/Sources/JWK/EC/DataECPublicKey.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// Created by Jarrod Moldrich on 02.07.18.
//
// ---------------------------------------------------------------------------
// Copyright 2019 Airside Mobile Inc.
// Copyright 2024 Airside Mobile Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion JOSESwift/Sources/JWK/EC/ECKeyCodable.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// Created by Jarrod Moldrich on 02.07.18.
//
// ---------------------------------------------------------------------------
// Copyright 2019 Airside Mobile Inc.
// Copyright 2024 Airside Mobile Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion JOSESwift/Sources/JWK/EC/ECKeys.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// Created by Jarrod Moldrich on 02.07.18.
//
// ---------------------------------------------------------------------------
// Copyright 2019 Airside Mobile Inc.
// Copyright 2024 Airside Mobile Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion JOSESwift/Sources/JWK/EC/SecKeyECPrivateKey.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// Created by Jarrod Moldrich on 10.01.2019.
//
// ---------------------------------------------------------------------------
// Copyright 2019 Airside Mobile Inc.
// Copyright 2024 Airside Mobile Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion JOSESwift/Sources/JWK/EC/SecKeyECPublicKey.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// Created by Jarrod Moldrich on 02.07.18.
//
// ---------------------------------------------------------------------------
// Copyright 2019 Airside Mobile Inc.
// Copyright 2024 Airside Mobile Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion JOSESwift/Sources/JWK/JWK.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Modified by Jarrod Moldrich on 02.07.18.
//
// ---------------------------------------------------------------------------
// Copyright 2019 Airside Mobile Inc.
// Copyright 2024 Airside Mobile Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
Loading

0 comments on commit c2664a9

Please sign in to comment.