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

feat(jose): update library version to 2.2.1 #6

Merged
merged 1 commit into from
Apr 23, 2024

feat(jose): update library version to 2.2.1

ad2c5d1
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

feat(jose): update library version to 2.2.1 #6

feat(jose): update library version to 2.2.1
ad2c5d1
Select commit
Loading
Failed to load commit list.
GitHub Actions / Xcode test results succeeded Apr 23, 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
  Error.swift 0.00 % 0 56
  EncryptedParams.swift 100.00 % 16 16
  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
  FromPrior.swift 98.39 % 61 62
  PlainEnvelopePack.swift 96.77 % 30 31
  AliceSecretResolverMock.swift 97.09 % 100 103
  SecretResolver.swift 100.00 % 9 9
  MultibasePublicKey.swift 0.00 % 0 27
  PlainTextResult.swift 100.00 % 5 5
  RoutingResult.swift 100.00 % 38 38
  SignedEnvelopePack.swift 97.56 % 40 41
  SignedParams.swift 100.00 % 8 8
  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
  MessageCodingTest.swift 100.00 % 69 69
  SenderKeySelector.swift 60.39 % 125 207
  Base58PublicKey.swift 68.75 % 11 16
  AuthEnvelopePack.swift 83.75 % 67 80
  JsonWebKey.swift 53.85 % 7 13
  RecipientKeySelectorTests.swift 100.00 % 178 178
  Base58PrivateKey.swift 0.00 % 0 20
  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
  MessagesMock.swift 100.00 % 20 20
  EncryptedEnvelopeUnpack.swift 95.24 % 60 63
  AnonEnvelopePack.swift 95.08 % 58 61
  RecipientKeySelector.swift 72.95 % 89 122
  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
  PackSignedMessageTests.swift 100.00 % 87 87
  AliceNewSecretResolverMock.swift 0.00 % 0 103
  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
  MultibasePrivateKey.swift 0.00 % 0 32
  EncryptedEnvelopeUnpack.swift 95.24 % 60 63
  ForwardMessage.swift 47.83 % 22 46
  AnonAlg+JWE.swift 76.19 % 16 21
  SignedResult.swift 100.00 % 6 6
  SignedParams.swift 100.00 % 8 8
  Error.swift 0.00 % 0 56
  SignedEnvelopeUnpack.swift 89.25 % 83 93
  PlainTextParams.swift 100.00 % 7 7
  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
  AuthAlg+JWE.swift 92.86 % 13 14
  PlainEnvelopePack.swift 96.77 % 30 31
  Secret+JWK.swift 0.00 % 0 12
  DIDComm.swift 100.00 % 97 97
  PlainTextResult.swift 100.00 % 5 5
  Encrypter.swift 100.00 % 26 26
  Message.swift 87.50 % 196 224
  RoutingResult.swift 100.00 % 38 38
  APV.swift 70.00 % 7 10
  AnonEnvelopePack.swift 95.08 % 58 61
  Secret.swift 25.00 % 5 20
  ServiceTree.swift 71.29 % 149 209
  PlainEnvelopeUnpack.swift 94.74 % 18 19
  Base58PublicKey.swift 68.75 % 11 16
  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
  SecretResolver.swift 100.00 % 9 9
  UnpackResult.swift 100.00 % 16 16
  Base58PrivateKey.swift 0.00 % 0 20
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()