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

System.Security.Cryptography.Pkcs.Tests tests fail on Android #37094

Closed
71 tasks
mdh1418 opened this issue May 27, 2020 · 1 comment · Fixed by #56861
Closed
71 tasks

System.Security.Cryptography.Pkcs.Tests tests fail on Android #37094

mdh1418 opened this issue May 27, 2020 · 1 comment · Fixed by #56861

Comments

@mdh1418
Copy link
Member

mdh1418 commented May 27, 2020

Several tests from System.Security.Cryptography.Pkcs.Tests fail on Android

System.Security.Cryptography.Pkcs.Tests

  • System.Security.Cryptography.Pkcs.Tests.SignedCmsTests.AddFirstSigner_RSA(identifierType: SubjectKeyIdentifier, detached: True)
  • System.Security.Cryptography.Pkcs.Tests.SignedCmsTests.AddFirstSigner_RSA(identifierType: SubjectKeyIdentifier, detached: False)
  • System.Security.Cryptography.Pkcs.Tests.SignedCmsTests.AddFirstSigner_RSA(identifierType: IssuerAndSerialNumber, detached: True)
  • System.Security.Cryptography.Pkcs.Tests.SignedCmsTests.AddFirstSigner_RSA(identifierType: IssuerAndSerialNumber, detached: False)
  • System.Security.Cryptography.Pkcs.Tests.SignedCmsTests.SignIdentifiedContent_BadOid(oidValueIn: null, contentHex: "010100", oidValueOut: "1.2.840.113549.1.7.1")
  • System.Security.Cryptography.Pkcs.Tests.SignedCmsTests.SignIdentifiedContent_BadOid(oidValueIn: null, contentHex: "0102", oidValueOut: "1.2.840.113549.1.7.1")
  • System.Security.Cryptography.Pkcs.Tests.SignedCmsTests.SignIdentifiedContent(oidValue: "0.0", contentHex: "04020102", netfxProblem: False)
  • System.Security.Cryptography.Pkcs.Tests.SignedCmsTests.SignIdentifiedContent(oidValue: "1.2.840.113549.1.7.1", contentHex: "0102", netfxProblem: False)
  • System.Security.Cryptography.Pkcs.Tests.SignedCmsTests.SignIdentifiedContent(oidValue: "0.0", contentHex: "010100", netfxProblem: False)
  • System.Security.Cryptography.Pkcs.Tests.SignedCmsTests.SignIdentifiedContent(oidValue: "1.2.840.113549.1.7.5", contentHex: "010100", netfxProblem: False)
  • System.Security.Cryptography.Pkcs.Tests.SignedCmsTests.SignIdentifiedContent(oidValue: "1.2.840.113549.1.7.5", contentHex: "3000", netfxProblem: False)
  • System.Security.Cryptography.Pkcs.Tests.SignedCmsTests.EnsureExtraCertsAdded(newDocument: False)
  • System.Security.Cryptography.Pkcs.Tests.SignedCmsTests.EnsureExtraCertsAdded(newDocument: True)
  • System.Security.Cryptography.Pkcs.Tests.SignedCmsTests.AddSigner_RSA_EphemeralKey
  • System.Security.Cryptography.Pkcs.Tests.SignedCmsTests.SignEnveloped(signerType: IssuerAndSerialNumber)
  • System.Security.Cryptography.Pkcs.Tests.SignedCmsTests.SignEnveloped(signerType: SubjectKeyIdentifier)
  • System.Security.Cryptography.Pkcs.Tests.SignedCmsTests.SingUsingExplicitKeySetWithProperty
  • System.Security.Cryptography.Pkcs.Tests.SignedCmsTests.AddSigner_DSA_EphemeralKey
  • System.Security.Cryptography.Pkcs.Tests.SignedCmsTests.EnsureDataIsolation_NewDocument(detached: True)
  • System.Security.Cryptography.Pkcs.Tests.SignedCmsTests.EnsureDataIsolation_NewDocument(detached: False)
  • System.Security.Cryptography.Pkcs.Tests.SignedCmsTests.AddSigner_DuplicateCert_RSA(skidFirst: True, detached: False)
  • System.Security.Cryptography.Pkcs.Tests.SignedCmsTests.AddSigner_DuplicateCert_RSA(skidFirst: True, detached: True)
  • System.Security.Cryptography.Pkcs.Tests.SignedCmsTests.AddSigner_DuplicateCert_RSA(skidFirst: False, detached: False)
  • System.Security.Cryptography.Pkcs.Tests.SignedCmsTests.AddSigner_DuplicateCert_RSA(skidFirst: False, detached: True)
  • System.Security.Cryptography.Pkcs.Tests.SignedCmsTests.AddSigner_ECDSA_EphemeralKey
  • System.Security.Cryptography.Pkcs.Tests.SignedCmsTests.SignWithImplicitSubjectKeyIdentifier
  • System.Security.Cryptography.Pkcs.Tests.SignedCmsTests.AddSignerToUnsortedAttributeSignature
  • System.Security.Cryptography.Pkcs.Tests.SignerInfoTests.AddCounterSigner_RSA(identifierType: IssuerAndSerialNumber)
  • System.Security.Cryptography.Pkcs.Tests.SignerInfoTests.AddCounterSigner_RSA(identifierType: SubjectKeyIdentifier)
  • System.Security.Cryptography.Pkcs.Tests.SignerInfoTests.EnsureExtraCertsAdded
  • System.Security.Cryptography.Pkcs.Tests.SignerInfoTests.SignerInfo_AddRemoveUnsignedAttributes_JoinCounterSignaturesAttributesIntoOne
  • System.Security.Cryptography.Pkcs.Tests.SignerInfoTests.AddCounterSignerToUnsortedAttributeSignature
  • System.Security.Cryptography.Pkcs.Tests.SignerInfoTests.AddCounterSigner_DuplicateCert_RSA
  • System.Security.Cryptography.Pkcs.Tests.SignerInfoTests.CheckSignature_SHA512WithRSA
  • System.Security.Cryptography.Pkcs.Tests.TimestampTokenTests.CertMismatchIssuerAndSerialV2(includeOption: WholeChain, v2Option: ValidHashWithInvalidName, identifierType: SubjectKeyIdentifier, hashAlgName: "SHA384")
  • System.Security.Cryptography.Pkcs.Tests.TimestampTokenTests.CertMismatchIssuerAndSerialV2(includeOption: WholeChain, v2Option: ValidHashWithInvalidName, identifierType: IssuerAndSerialNumber, hashAlgName: null)
  • System.Security.Cryptography.Pkcs.Tests.TimestampTokenTests.CertMismatchIssuerAndSerialV2(includeOption: WholeChain, v2Option: ValidHashWithInvalidName, identifierType: SubjectKeyIdentifier, hashAlgName: null)
  • System.Security.Cryptography.Pkcs.Tests.TimestampTokenTests.CertMismatchIssuerAndSerialV2(includeOption: WholeChain, v2Option: ValidHashWithInvalidName, identifierType: IssuerAndSerialNumber, hashAlgName: "SHA384")
  • System.Security.Cryptography.Pkcs.Tests.TimestampTokenTests.TimestampTooOld(includeOption: WholeChain)
  • System.Security.Cryptography.Pkcs.Tests.TimestampTokenTests.MatchV1(includeOption: WholeChain, v1Option: ValidHashNoName)
  • System.Security.Cryptography.Pkcs.Tests.TimestampTokenTests.MatchV1(includeOption: WholeChain, v1Option: ValidHashWithName)
  • System.Security.Cryptography.Pkcs.Tests.TimestampTokenTests.TimestampTooNew(includeOption: WholeChain)
  • System.Security.Cryptography.Pkcs.Tests.TimestampTokenTests.CertHashMismatchV2(includeOption: WholeChain, hashAlgName: null)
  • System.Security.Cryptography.Pkcs.Tests.TimestampTokenTests.CertHashMismatchV2(includeOption: WholeChain, hashAlgName: "SHA384")
  • System.Security.Cryptography.Pkcs.Tests.TimestampTokenTests.CertHashMismatchV2(includeOption: WholeChain, hashAlgName: "SHA1")
  • System.Security.Cryptography.Pkcs.Tests.TimestampTokenTests.CertHashMismatchV2(includeOption: WholeChain, hashAlgName: "MD5")
  • System.Security.Cryptography.Pkcs.Tests.TimestampTokenTests.MatchV2(includeOption: WholeChain, v2Option: ValidHashNoName, hashAlgName: null)
  • System.Security.Cryptography.Pkcs.Tests.TimestampTokenTests.MatchV2(includeOption: WholeChain, v2Option: ValidHashWithName, hashAlgName: "SHA384")
  • System.Security.Cryptography.Pkcs.Tests.TimestampTokenTests.MatchV2(includeOption: WholeChain, v2Option: ValidHashWithName, hashAlgName: "SHA1")
  • System.Security.Cryptography.Pkcs.Tests.TimestampTokenTests.MatchV2(includeOption: WholeChain, v2Option: ValidHashWithName, hashAlgName: "MD5")
  • System.Security.Cryptography.Pkcs.Tests.TimestampTokenTests.CertMismatchIssuerAndSerialV1(includeOption: WholeChain, v1Option: ValidHashWithInvalidName, identifierType: SubjectKeyIdentifier)
  • System.Security.Cryptography.Pkcs.Tests.TimestampTokenTests.CertMismatchIssuerAndSerialV1(includeOption: WholeChain, v1Option: ValidHashWithInvalidName, identifierType: IssuerAndSerialNumber)
  • System.Security.Cryptography.Pkcs.Tests.TimestampTokenTests.CertMatchV1AndV2(includeOption: WholeChain, v1Option: ValidHashNoName, v2Option: ValidHashWithName, hashAlgName: null)
  • System.Security.Cryptography.Pkcs.Tests.TimestampTokenTests.CertMatchV1AndV2(includeOption: WholeChain, v1Option: ValidHashWithName, v2Option: ValidHashNoName, hashAlgName: null)
  • System.Security.Cryptography.Pkcs.Tests.TimestampTokenTests.CertMatchV1AndV2(includeOption: WholeChain, v1Option: ValidHashWithName, v2Option: ValidHashWithName, hashAlgName: "SHA384")
  • System.Security.Cryptography.Pkcs.Tests.TimestampTokenTests.CertMatchV1AndV2(includeOption: WholeChain, v1Option: ValidHashNoName, v2Option: ValidHashWithName, hashAlgName: "SHA384")
  • System.Security.Cryptography.Pkcs.Tests.TimestampTokenTests.CertMatchV1AndV2(includeOption: WholeChain, v1Option: ValidHashWithName, v2Option: ValidHashNoName, hashAlgName: "SHA512")
  • System.Security.Cryptography.Pkcs.Tests.TimestampTokenTests.CertMatchV1AndV2(includeOption: WholeChain, v1Option: ValidHashNoName, v2Option: ValidHashNoName, hashAlgName: "SHA512")
  • System.Security.Cryptography.Pkcs.Tests.TimestampTokenTests.CertMatchV1AndV2(includeOption: WholeChain, v1Option: ValidHashNoName, v2Option: ValidHashNoName, hashAlgName: null)
  • System.Security.Cryptography.Pkcs.Tests.TimestampTokenTests.CertMatchV1AndV2(includeOption: WholeChain, v1Option: ValidHashWithName, v2Option: ValidHashWithName, hashAlgName: null)
  • System.Security.Cryptography.Pkcs.Tests.TimestampTokenTests.NoTsaEku(includeOption: WholeChain)
  • System.Security.Cryptography.Pkcs.Tests.TimestampTokenTests.NoEkuExtension(includeOption: WholeChain)
  • System.Security.Cryptography.Pkcs.Tests.TimestampTokenTests.CertMismatchV1OrV2(includeOption: WholeChain, v1Option: ValidHashWithInvalidName, v2Option: InvalidHashNoName, identifierType: SubjectKeyIdentifier, hashAlgName: null)
  • System.Security.Cryptography.Pkcs.Tests.TimestampTokenTests.CertMismatchV1OrV2(includeOption: WholeChain, v1Option: InvalidHashWithInvalidSerial, v2Option: ValidHashNoName, identifierType: IssuerAndSerialNumber, hashAlgName: null)
  • System.Security.Cryptography.Pkcs.Tests.TimestampTokenTests.CertMismatchV1OrV2(includeOption: WholeChain, v1Option: ValidHashWithInvalidSerial, v2Option: ValidHashWithName, identifierType: IssuerAndSerialNumber, hashAlgName: "SHA384")
  • System.Security.Cryptography.Pkcs.Tests.TimestampTokenTests.NonCriticalEkuExtension(includeOption: WholeChain)
  • System.Security.Cryptography.Pkcs.Tests.TimestampTokenTests.CertHashMismatchV1(includeOption: WholeChain)
  • System.Security.Cryptography.Pkcs.Tests.TimestampTokenTests.TwoEkuExtensions(includeOption: WholeChain)
  • System.Security.Cryptography.Pkcs.Tests.TimestampTokenTests.TryDecode_Fails_MalformedToken
  • System.Security.Cryptography.Pkcs.Tests.TimestampRequestTests.BuildFromSignerInfo
  • System.Security.Cryptography.Pkcs.Tests.CounterSigningDerOrder.CounterSigningReindexes

System.Security.Cryptography.Pkcs.Tests.log

Edit: Updated based on #50095

@Dotnet-GitSync-Bot Dotnet-GitSync-Bot added the untriaged New issue has not been triaged by the area owner label May 27, 2020
@ghost
Copy link

ghost commented May 27, 2020

Tagging subscribers to this area: @bartonjs, @vcsjones, @krwq
Notify danmosemsft if you want to be subscribed.

@marek-safar marek-safar added this to the 6.0.0 milestone Jun 24, 2020
@marek-safar marek-safar removed the untriaged New issue has not been triaged by the area owner label Jun 24, 2020
@mdh1418 mdh1418 changed the title System.Security tests fail on Android System.Security.Cryptography.Pkcs.Tests tests fail on Android Mar 31, 2021
@ghost ghost added the in-pr There is an active PR which will close this issue when it is merged label Aug 4, 2021
@mdh1418 mdh1418 self-assigned this Aug 4, 2021
@ghost ghost removed the in-pr There is an active PR which will close this issue when it is merged label Aug 6, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Sep 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants