Skip to content

Swift Certificates 1.0.0-beta.1

Compare
Choose a tag to compare
@dnadoba dnadoba released this 25 Aug 10:32
· 48 commits to main since this release
ef10b81

SemVer Minor

  • Added subjectPublicKeyInfoBytes to public keys (#100, patch credit to @Tyler-Keith-Thompson)
  • Police uniqueness of Certificate.Extensions (#84)
  • Remove the "from parts" Certificate constructor. (#88)
  • Police uniqueness of ExtendedKeyUsage (#90)
  • Implement remove for RelativeDistinguishedName (#92)
  • Implement property setters of NameConstraints (#94)
  • Do not allocate for RelativeDistinguishedNames with just a single attribute (#101)
  • Use #if canImport(Darwin) where possible (#102)
  • Add support for Musl libc (#103)
  • Store String in RelativeDistinguishedName.Attribute instead of ASN1Any if possible (#104)
  • Conform AuthorityInformationAccess to RangeReplaceableCollection (#105)
  • Add integer initialisers on Certificate.SerialNumber (#106)
  • Update to swift-asn1 0.10.0 (#107)
  • Allow OCSPRequester to fail OCSPVerifierPolicy (#108)
  • Add optional diagnostic information to Verifier (#113)
  • Add custom String representation to Certificate and related types (#116)
  • Adopt apple/swift-format (#121)
  • Allow RelativeDistinguishedNameConvertible to fail gracefully (#122)
  • Remove deprecated API (#123)
  • Add PolicyFailureReason to support lazy failure reason string interpolation (#126)
  • Use beta release of swift-asn1 (#131)

SemVer Patch

  • Make expiry checking cheaper. (#85)
  • We aren't supporting PSS for now. (#93)
  • Limit the number elements in Extensions and ExtendedKeyUsage (#95)
  • Make hashing a RDN.Attribute.Value.utf8String not allocate (#112)
  • Make debugDescription work well as part of a structural display (#115)
  • Reject v1 Certificates with extensions (#118)
  • Do not count self-issued certificates against maxPathLength (#119)
  • Fix preference of root certificates (#127)
  • Refactor ASN1UTF8StringView to ASN1TaggedStringView and use it for printable strings (#128)
  • Add Certificate.PrivateKey description (#132)

Other Changes

  • Actually validate we can parse the signature. (#82)
  • [README] Add a leading dot to upToNextMinor (#83)
  • Make constructing Dates cheaper (#86)
  • Don't rely on having a SEP present (#87)
  • Remove unnecessary TODO (#89)
  • Setup allocation test framework (#96)
  • Add allocation test that parses all WebPKI roots (#97)
  • Implement TinyArray (#98)
  • Remove unused test key (#109)
  • Remove unused import (#110)
  • Add Verifier allocation tests (#111)
  • Use Certificate.description instead of dump for debugging flaky tests (#117)
  • Use valid ASN1ObjectIdentifier in tests with at least two components (#124)