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

Provider: Signing #94

Merged
merged 73 commits into from
Sep 4, 2024
Merged

Provider: Signing #94

merged 73 commits into from
Sep 4, 2024

Conversation

iaik-jheher
Copy link
Collaborator

No description provided.

@iaik-jheher iaik-jheher marked this pull request as draft July 8, 2024 12:15
demoapp/DEVELOPMENT.md Outdated Show resolved Hide resolved
Copy link
Collaborator

@JesusMcCloud JesusMcCloud left a comment

Choose a reason for hiding this comment

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

minor nitpicks

}
val SignatureResult.isSuccess get() = (this is SignatureResult.Success)
/** Retrieves the contained signature, asserting it exists. If it does not exist, throws the contained problem. */
val SignatureResult.signature: CryptoSignature get() = when (this) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Annotate with @throws for good measure

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

can't, build breaks on ios

Copy link
Collaborator

@JesusMcCloud JesusMcCloud left a comment

Choose a reason for hiding this comment

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

README needs small additions

#### Platform Signers

On Android and iOS, signers using the systems' secure key storage can be retrieved.
To do this, use `PlatformSigningProvider` (in common code), or interact with `AndroidKeystoreProvider`/`IosKeychainProvider` (in platform-specific code).
Copy link
Collaborator

Choose a reason for hiding this comment

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

JKS signer

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

JKS signer is not a PlatformSigningProvider right now

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

added a note

README.md Show resolved Hide resolved
@JesusMcCloud JesusMcCloud merged commit 32bd91c into development Sep 4, 2024
6 checks passed
@iaik-jheher iaik-jheher deleted the feature/signer-provider branch September 4, 2024 14:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants