Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[Android] X509KeyStorageFlags in X509Certificate constructor are ignored #52435

Closed
filipnavara opened this issue May 7, 2021 · 4 comments · Fixed by #57494
Closed

[Android] X509KeyStorageFlags in X509Certificate constructor are ignored #52435

filipnavara opened this issue May 7, 2021 · 4 comments · Fixed by #57494

Comments

@filipnavara
Copy link
Member

This is mirror of identical issue on iOS:

The implementation of PKCS#12 certificate loading ignores the flags passed to the constructor.

Code reference:

ICertificatePal[] certPals = ReadPkcs12Collection(rawData, password);
return new AndroidCertLoader(certPals);

@dotnet-issue-labeler dotnet-issue-labeler bot added area-System.Security untriaged New issue has not been triaged by the area owner labels May 7, 2021
@ghost
Copy link

ghost commented May 7, 2021

Tagging subscribers to this area: @bartonjs, @vcsjones, @krwq, @GrabYourPitchforks
See info in area-owners.md if you want to be subscribed.

Issue Details

This is mirror of identical issue on iOS:

The implementation of PKCS#12 certificate loading ignores the flags passed to the constructor.

Code reference:

ICertificatePal[] certPals = ReadPkcs12Collection(rawData, password);
return new AndroidCertLoader(certPals);

Author: filipnavara
Assignees: -
Labels:

area-System.Security, untriaged

Milestone: -

@bartonjs bartonjs added this to the 6.0.0 milestone Jul 2, 2021
@bartonjs bartonjs removed the untriaged New issue has not been triaged by the area owner label Jul 2, 2021
@ghost
Copy link

ghost commented Jul 2, 2021

Tagging subscribers to 'arch-android': @steveisok, @akoeplinger
See info in area-owners.md if you want to be subscribed.

Issue Details

This is mirror of identical issue on iOS:

The implementation of PKCS#12 certificate loading ignores the flags passed to the constructor.

Code reference:

ICertificatePal[] certPals = ReadPkcs12Collection(rawData, password);
return new AndroidCertLoader(certPals);

Author: filipnavara
Assignees: -
Labels:

area-System.Security, os-android, untriaged

Milestone: -

@mdh1418
Copy link
Member

mdh1418 commented Aug 6, 2021

Is this resolved by #55425

@steveisok
Copy link
Member

@mdh1418 This should be a similar fix as iOS.

@ghost ghost added the in-pr There is an active PR which will close this issue when it is merged label Aug 16, 2021
@ghost ghost removed the in-pr There is an active PR which will close this issue when it is merged label Aug 17, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Sep 16, 2021
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants