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

ForgeRock Android SDK 4.0.0 Release #264

Merged
merged 169 commits into from
May 29, 2023
Merged

ForgeRock Android SDK 4.0.0 Release #264

merged 169 commits into from
May 29, 2023

Conversation

spetrov
Copy link
Contributor

@spetrov spetrov commented May 29, 2023

JIRA Ticket

SDKS-2516 ForgeRock Android SDK 4.0.0 Release

jeyanthanperiyasamy and others added 30 commits August 18, 2022 01:21
Device Binding / Verifier feature - SDKS-1747,  SDKS-2022
SDKS-1747 / SDKS-2022 - DeviceBinding/Verifier
… to run the tests against AM instance which has the DeviceBinding node
SDKS-1749 Device Binding QA
SDKS-2143 Add expiration time to JWS for Device Binding and Device Signing Verifier
witrisna and others added 22 commits April 20, 2023 13:21
…estation None when server does not provide the attestation attribute.
SDKS-2413 Android Key Attestation Implementation - Set default to Attestation None when server does not provide the attestation attribute.
SDKS-2446 Error deserializing Account object
SDKS-2437 Device Binding Application Id and Key Attestation e2e Tests
fixed review comments
…orkCollector

SDKS-2445_Updates to NetworkCollector
SDKS-2468 Combined MFA Registration issue with non-default Issuer
SDKS-2450 Key Attestation will not support API Level 23
SDKS-2369 Publish SNAPSHOT Release
SDKS-2511 Use single master key for Application Pin encryption
…owedError, simulate as cancelling WebAuthn Authentication.
SDKS-2509 Cancelling WebAuthn Key Selection dialog result with NotAllowedError, simulate as canceling WebAuthn Authentication.
ForgeRock Android SDK 4.0.0 release preparation
@spetrov spetrov requested review from witrisna and rodrigoareis May 29, 2023 17:44
Copy link
Contributor

@rodrigoareis rodrigoareis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@spetrov spetrov merged commit 2049a2a into master May 29, 2023
next()
} catch (e: CancellationException) {
//ignore
} catch (e: Exception) {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

8% of developers fix this issue

TooGenericExceptionCaught: The caught exception is too generic. Prefer catching specific exceptions to the case that is currently handled.

❗❗ 23 similar findings have been found in this PR

🔎 Expand here to view all instances of this finding
File Path Line Number
forgerock-auth-ui/src/main/java/org/forgerock/android/auth/ui/callback/DeviceSigningVerifierCallbackFragment.kt 45
forgerock-auth-ui/src/main/java/org/forgerock/android/auth/ui/callback/WebAuthnAuthenticationCallbackFragment.kt 44
forgerock-auth-ui/src/main/java/org/forgerock/android/auth/ui/callback/WebAuthnRegistrationCallbackFragment.kt 47
forgerock-auth/src/main/java/org/forgerock/android/auth/RemoteDeviceBindingRepository.kt 70
forgerock-auth/src/main/java/org/forgerock/android/auth/WebAuthnDataRepository.kt 40
forgerock-auth/src/main/java/org/forgerock/android/auth/callback/DeviceBindingCallback.kt 180
forgerock-auth/src/main/java/org/forgerock/android/auth/callback/DeviceBindingCallback.kt 259
forgerock-auth/src/main/java/org/forgerock/android/auth/callback/DeviceSigningVerifierCallback.kt 147
forgerock-auth/src/main/java/org/forgerock/android/auth/callback/DeviceSigningVerifierCallback.kt 206
forgerock-auth/src/main/java/org/forgerock/android/auth/callback/WebAuthnAuthenticationCallback.kt 59

Showing 10 of 23 findings. Visit the Lift Web Console to see all.


ℹ️ Expand to see all @sonatype-lift commands

You can reply with the following commands. For example, reply with @sonatype-lift ignoreall to leave out all findings.

Command Usage
@sonatype-lift ignore Leave out the above finding from this PR
@sonatype-lift ignoreall Leave out all the existing findings from this PR
@sonatype-lift exclude <file|issue|path|tool> Exclude specified file|issue|path|tool from Lift findings by updating your config.toml file

Note: When talking to LiftBot, you need to refresh the page to see its response.
Click here to add LiftBot to another repo.

val hash: ByteArray? = digest.digest(keyName.toByteArray())
Base64.encodeToString(hash, Base64.NO_WRAP or Base64.NO_PADDING or Base64.URL_SAFE)
} catch (e: NoSuchAlgorithmException) {
throw RuntimeException(e)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

10% of developers fix this issue

TooGenericExceptionThrown: RuntimeException is a too generic Exception. Prefer throwing specific exceptions that indicate a specific error case.


ℹ️ Expand to see all @sonatype-lift commands

You can reply with the following commands. For example, reply with @sonatype-lift ignoreall to leave out all findings.

Command Usage
@sonatype-lift ignore Leave out the above finding from this PR
@sonatype-lift ignoreall Leave out all the existing findings from this PR
@sonatype-lift exclude <file|issue|path|tool> Exclude specified file|issue|path|tool from Lift findings by updating your config.toml file

Note: When talking to LiftBot, you need to refresh the page to see its response.
Click here to add LiftBot to another repo.

} catch (e: NoSuchAlgorithmException) {
throw RuntimeException(e)
} catch (e: Exception) {
throw RuntimeException(e)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

10% of developers fix this issue

TooGenericExceptionThrown: RuntimeException is a too generic Exception. Prefer throwing specific exceptions that indicate a specific error case.


ℹ️ Expand to see all @sonatype-lift commands

You can reply with the following commands. For example, reply with @sonatype-lift ignoreall to leave out all findings.

Command Usage
@sonatype-lift ignore Leave out the above finding from this PR
@sonatype-lift ignoreall Leave out all the existing findings from this PR
@sonatype-lift exclude <file|issue|path|tool> Exclude specified file|issue|path|tool from Lift findings by updating your config.toml file

Note: When talking to LiftBot, you need to refresh the page to see its response.
Click here to add LiftBot to another repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

7 participants