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

Use managed implementation of pbkdf2 for Android's one-shot implementation. #49314

Merged
merged 5 commits into from
Mar 10, 2021

Conversation

jkoritzinsky
Copy link
Member

Android does not provide an implementation of Pbkdf2 with other than SHA1 until API Level 26. Since our minimum API level to support is 21, for now we will fall back to the managed implementation.

In the future, the Android implementation could optionally use a platform-native implementation when available.

…ation.

Android does not provide an implementation of Pbkdf2 with other than SHA1 until API Level 26. Since our minimum API level to support is 21, for now we will fall back to the managed implementation.

In the future, the Android implementation could optionally use a platform-native implementation when available.
@ghost
Copy link

ghost commented Mar 8, 2021

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

Issue Details

Android does not provide an implementation of Pbkdf2 with other than SHA1 until API Level 26. Since our minimum API level to support is 21, for now we will fall back to the managed implementation.

In the future, the Android implementation could optionally use a platform-native implementation when available.

Author: jkoritzinsky
Assignees: -
Labels:

area-System.Security, os-android

Milestone: 6.0.0

@ghost
Copy link

ghost commented Mar 9, 2021

Hello @jkoritzinsky!

Because this pull request has the auto-merge label, I will be glad to assist with helping to merge this pull request once all check-in policies pass.

p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (@msftbot) and give me an instruction to get started! Learn more here.

@jkoritzinsky
Copy link
Member Author

Failure is unrelated. Will be fixed by #49396

@jkoritzinsky jkoritzinsky merged commit 4e76feb into dotnet:main Mar 10, 2021
@jkoritzinsky jkoritzinsky deleted the pbkdf2-oneshot-fallback branch March 10, 2021 00:26
thaystg added a commit to thaystg/runtime that referenced this pull request Mar 10, 2021
* upstream/main: (83 commits)
  Fix a crash in llvm if the sreg of a setret is not set because the methods ends with a throw. (dotnet#49122)
  [macOS-arm64] Disable failing libraries tests (dotnet#49400)
  improve PriorityQueue documentation (dotnet#49392)
  [wasm] Fix debugger tests (dotnet#49206)
  [mono] Fix the emission of EnumEqualityComparer instances into the corlib AOT image. (dotnet#49402)
  jitutils M2M renaming reaction (dotnet#49430)
  WinHttpHandler: Read HTTP/2 trailing headers
  [RyuJIT] Make casthelpers cold for sealed classes (dotnet#49295)
  JIT: Non-void ThrowHelpers (dotnet#48589)
  Update package index for servicing (dotnet#49417)
  Remove unnecessary check on polymorphic serialization (dotnet#48464)
  Remove release build cron triggers from jitstress jobs (dotnet#49333)
  [main] Update dependencies from dotnet/arcade dotnet/llvm-project dotnet/runtime-assets (dotnet#49359)
  Implement AppleCryptoNative_X509GetRawData using SecCertificateCopyData
  [AndroidCrypto] Support a zero-length salt for HMACs. (dotnet#49384)
  Use managed implementation of pbkdf2 for Android's one-shot implementation. (dotnet#49314)
  Make 303 redirects do GET like Net Framework (dotnet#49095)
  Make sure event generation is incremental (dotnet#48903)
  Add amd and Surface arm64 perf runs (dotnet#49389)
  Enregister EH var that are single def (dotnet#47307)
  ...
@ghost ghost locked as resolved and limited conversation to collaborators Apr 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants