Franz Busch
c0b6a47ffe
[CI] Adopt GitHub actions ( #193 )
2024-10-21 16:01:05 +01:00
Cory Benfield
4975de4e97
Add support for validating server hostnames and IP addresses ( #171 )
...
Motivation
To make Swift Certificates useful for the Web PKI it's vital
that we can validate that a particular certificate is authoritative
for a specific domain. This requires a new verifier policy.
Modifications
Added ServerIdentityPolicy
Added tests
Result
We can validate the identity of remote servers.
2024-04-22 16:24:19 +01:00
David Nadoba
7815247199
Adopt package-benchmark ( #125 )
...
* Add `package-benchmark`
* use local dependencies
* split into multiple targets
* fix benchmark plugin
* refactor file structure
* self review
* Fix review comment
* Apply review feedback
* use `scaledIterations`
* don’t require the parent folder to be named `swift-certificates`
* install jemalloc
* use new `metricP90AbsoluteThresholds` export format
* update metrics
* use automated threshold import
* merge main and update allocation counters
* adopt `swift-format` for benchmarks
* add license headers
* use latest threshold file format
* delete old integration tests
* use released version
* revork folder structure
and add BlackHole module
* crash in debug configuration
* swift-format
* update baselines
* Move to single target
* update swift-format script
* enable arc for `Verifier`
* update to `package-benchmark` `1.11.0`
* update to `package-benchmark` `1.11.1`
* update benchmark metrics
* update metrics captured
* include release count
* move `.benchmarkBaselines` to nested `.gitignore`
* swift-format
* Fix `.gitignore`
* Add documentation
* change wording
* remove version number
* remove benchmarks folder
* add uppercase Benchmarks folder
* fix formatting script
* update readme with new uppercase folder name
* update Benchmarks folder name in docker compose
* drop allocation limits
2023-09-21 14:17:49 +01:00
David Nadoba
45ad9935c7
Adopt apple/swift-format ( #121 )
...
* Adopt `apple/swift-format`
* install swift-format
* set `UseSynthesizedInitializer` to `false` until bug is fixed https://github.com/apple/swift-format/issues/591
* fix license header
* Fix license header
2023-08-16 11:17:34 +01:00
David Nadoba
41dff30819
Implement TinyArray ( #98 )
...
* Implement TinyArray
* update cmake
* “Hide” enum and support storing arrays of exactly one element in `.arbitrary`
* Add allocation tests for TinyArray
* make arrays of different sizes
* Remove array optimisation
* run append in a loop
* Move _TinyArray into a separate module
and apply review feedback
* update cmake files
* remove unused Foundation import
* Allocations are lower by “1” on Linux
2023-06-20 01:51:53 -07:00
David Nadoba
4a668badd3
Setup allocation test framework ( #96 )
2023-06-19 12:13:43 +02:00
Yim Lee
95ff310423
Setup CMake build ( #29 )
2023-03-02 14:11:09 -08:00
David Nadoba
f510662b25
Its 2023 and we should accept new files
2023-01-12 11:41:13 +01:00
David Nadoba
763ea6435a
Add docker compose files and scripts for CI
...
and use correct license header name
2022-11-28 11:38:15 +01:00