Skip to content

feat: update jose-swift library #6

feat: update jose-swift library

feat: update jose-swift library #6

GitHub Actions / Xcode test results succeeded Apr 14, 2024 in 0s

Xcode test results

Testing workspace didcomm-swift with scheme didcomm-swift

Summary

TotalSuccess PassedFailure FailedSkipped SkippedExpected Failure Expected Failure⏱️ Time
28280000.13s

Test Summary

DIDCommSwiftTests

  • Device: Mac mini, 13.6.6 (22G630)
  • SDK: macOS 14.0, 14.0
TestTotalSuccessFailureSkippedExpected Failure
test-class KeyTests55000
test-class MessageCodingTest11000
test-class PackEncryptedMessageTests33000
test-class PackPlainMessageTests22000
test-class PackSignedMessageTests33000
test-class RecipientKeySelectorTests1212000
test-class RoutingTests22000

Failure Failures

All tests passed 🎉


Code Coverage

Coverage Covered Executable
DIDCommSwiftTests 75.41 % 2794 3705
  DIDDocResolverMock.swift 75.00 % 24 32
  KeyHelperTests.swift 90.23 % 120 133
  Secret+JWK.swift 0.00 % 0 12
  RoutingTests.swift 100.00 % 127 127
  Signer.swift 29.81 % 31 104
  EncryptedParams.swift 100.00 % 16 16
  Error.swift 0.00 % 0 56
  Attachment.swift 23.76 % 48 202
  MultibasePrivateKey.swift 0.00 % 0 32
  SignedResult.swift 100.00 % 6 6
  ServiceTree.swift 71.29 % 149 209
  Key.swift 34.44 % 31 90
  DIDComm.swift 100.00 % 97 97
  BobSecretResolverMock.swift 100.00 % 114 114
  UnpackParams.swift 100.00 % 7 7
  Routing.swift 83.33 % 100 120
  PlainEnvelopePack.swift 96.77 % 30 31
  FromPrior.swift 98.39 % 61 62
  AliceSecretResolverMock.swift 97.09 % 100 103
  SecretResolver.swift 100.00 % 9 9
  MultibasePublicKey.swift 0.00 % 0 27
  PlainTextResult.swift 100.00 % 5 5
  SignedParams.swift 100.00 % 8 8
  SignedEnvelopePack.swift 97.56 % 40 41
  RoutingResult.swift 100.00 % 38 38
  AnonAlg+JWE.swift 76.19 % 16 21
  PackPlainMessageTests.swift 100.00 % 42 42
  ForwardMessage.swift 47.83 % 22 46
  AuthAlg+JWE.swift 92.86 % 13 14
  UnpackResult.swift 100.00 % 16 16
  Tree.swift 61.40 % 35 57
  SenderKeySelector.swift 60.39 % 125 207
  MessageCodingTest.swift 100.00 % 69 69
  Base58PublicKey.swift 68.75 % 11 16
  AuthEnvelopePack.swift 83.75 % 67 80
  Base58PrivateKey.swift 0.00 % 0 20
  JsonWebKey.swift 53.85 % 7 13
  RecipientKeySelectorTests.swift 100.00 % 178 178
  AliceRotatedToCharlieSecretResolverMock.swift 97.84 % 136 139
  SignedEnvelopeUnpack.swift 89.25 % 83 93
  PlainEnvelopeUnpack.swift 94.74 % 18 19
  JSONEncoder+Helper.swift 88.89 % 8 9
  EncryptedEnvelopeUnpack.swift 95.24 % 60 63
  MessagesMock.swift 100.00 % 20 20
  RecipientKeySelector.swift 72.95 % 89 122
  AnonEnvelopePack.swift 95.08 % 58 61
  Secret.swift 25.00 % 5 20
  EnvelopeUnpack.swift 97.85 % 91 93
  PlainTextParams.swift 100.00 % 7 7
  PackEncryptedMessageTests.swift 100.00 % 86 86
  String+Extensions.swift 100.00 % 3 3
  AsyncAlgorithms.swift 63.64 % 14 22
  AliceNewSecretResolverMock.swift 0.00 % 0 103
  PackSignedMessageTests.swift 100.00 % 87 87
  Encrypter.swift 100.00 % 26 26
  EncryptedResult.swift 100.00 % 8 8
  CharlieSecretResolverMock.swift 100.00 % 30 30
  Message.swift 87.50 % 196 224
  APV.swift 70.00 % 7 10
didcomm-swift 67.98 % 1658 2439
  JSONEncoder+Helper.swift 88.89 % 8 9
  ForwardMessage.swift 47.83 % 22 46
  EncryptedEnvelopeUnpack.swift 95.24 % 60 63
  SignedResult.swift 100.00 % 6 6
  AnonAlg+JWE.swift 76.19 % 16 21
  PlainTextParams.swift 100.00 % 7 7
  Error.swift 0.00 % 0 56
  SignedEnvelopeUnpack.swift 89.25 % 83 93
  SignedParams.swift 100.00 % 8 8
  MultibasePrivateKey.swift 0.00 % 0 32
  Routing.swift 83.33 % 100 120
  EncryptedResult.swift 100.00 % 8 8
  AuthEnvelopePack.swift 83.75 % 67 80
  EnvelopeUnpack.swift 97.85 % 91 93
  SenderKeySelector.swift 60.39 % 125 207
  MultibasePublicKey.swift 0.00 % 0 27
  Attachment.swift 23.76 % 48 202
  Key.swift 34.44 % 31 90
  EncryptedParams.swift 100.00 % 16 16
  FromPrior.swift 98.39 % 61 62
  Secret+JWK.swift 0.00 % 0 12
  AuthAlg+JWE.swift 92.86 % 13 14
  PlainEnvelopePack.swift 96.77 % 30 31
  DIDComm.swift 100.00 % 97 97
  PlainTextResult.swift 100.00 % 5 5
  RoutingResult.swift 100.00 % 38 38
  Encrypter.swift 100.00 % 26 26
  Message.swift 87.50 % 196 224
  Base58PublicKey.swift 68.75 % 11 16
  AnonEnvelopePack.swift 95.08 % 58 61
  APV.swift 70.00 % 7 10
  ServiceTree.swift 71.29 % 149 209
  PlainEnvelopeUnpack.swift 94.74 % 18 19
  Secret.swift 25.00 % 5 20
  Signer.swift 29.81 % 31 104
  SignedEnvelopePack.swift 97.56 % 40 41
  Tree.swift 61.40 % 35 57
  AsyncAlgorithms.swift 63.64 % 14 22
  UnpackParams.swift 100.00 % 7 7
  RecipientKeySelector.swift 72.95 % 89 122
  JsonWebKey.swift 53.85 % 7 13
  Base58PrivateKey.swift 0.00 % 0 20
  UnpackResult.swift 100.00 % 16 16
  SecretResolver.swift 100.00 % 9 9
Total 72.46 % 4452 6144

Details

Test Details

DIDCommSwiftTestsback

KeyTests back

SuccessFailureSkippedExpected Failure⏱️
5 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method testExtractECKeyFromJsonWebKey2020Secret()
Successtest-method testExtractECKeyFromJsonWebKey2020VerificationMethod()
Successtest-method testExtractKeyFromX25519KeyAgreementKey2019VerificationMethod()
Successtest-method testExtractOKPKeyFromJsonWebKey2020Secret()
Successtest-method testExtractOKPKeyFromJsonWebKey2020VerificationMethod()

MessageCodingTest back

SuccessFailureSkippedExpected Failure⏱️
1 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method testExtraHeaders()

PackEncryptedMessageTests back

SuccessFailureSkippedExpected Failure⏱️
3 (100%)0 (0%)0 (0%)0 (0%)0.01s
Successtest-method testEncryptedMessageTestVectors()
Successtest-method testPackEncryptedMessage()
Successtest-method testUnpackEncryptedMessage()

PackPlainMessageTests back

SuccessFailureSkippedExpected Failure⏱️
2 (100%)0 (0%)0 (0%)0 (0%)0.01s
Successtest-method testPlainMessage()
Successtest-method testPlainTextMessageWithFromPriorAndIssKid()

PackSignedMessageTests back

SuccessFailureSkippedExpected Failure⏱️
3 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method testPackSignedMessage()
Successtest-method testSignedMessageTestVectors()
Successtest-method testUnpackSignedMessage()

RecipientKeySelectorTests back

SuccessFailureSkippedExpected Failure⏱️
12 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method testDIDDocNotResolved()
Successtest-method testDIDIsPassedToMethods()
Successtest-method testEmptyDIDDoc()
Successtest-method testFindAnonCryptoKeys()
Successtest-method testFindAnoncryptUnpackRecipientPrivateKeysAllKidsUnknown()
Successtest-method testFindAnoncryptUnpackRecipientPrivateKeysPositiveSingleKey()
Successtest-method testFindAuthCryptoKeys()
Successtest-method testFindSecondAnonCryptoKey()
Successtest-method testFindVerificationKey()
Successtest-method testIncompatibleCrypto()
Successtest-method testKeyNotFound()
Successtest-method testVerificationMethodNotFound()

RoutingTests back

SuccessFailureSkippedExpected Failure⏱️
2 (100%)0 (0%)0 (0%)0 (0%)0.11s
Successtest-method testPackRoutingMessage()
Successtest-method testPackRoutingMultipleRecipientsMessage()