Merge branch 'main' of github.com:standardnotes/app
This commit is contained in:
@@ -3,6 +3,12 @@
|
|||||||
All notable changes to this project will be documented in this file.
|
All notable changes to this project will be documented in this file.
|
||||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||||
|
|
||||||
|
## [3.52.1](https://github.com/standardnotes/app/compare/@standardnotes/mobile@3.52.0...@standardnotes/mobile@3.52.1) (2023-04-18)
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* **mobile:** Android U2F authenticator response encoding ([#2313](https://github.com/standardnotes/app/issues/2313)) ([4adabab](https://github.com/standardnotes/app/commit/4adabab256dd2efde4209d2321564206f6719c69))
|
||||||
|
|
||||||
# [3.52.0](https://github.com/standardnotes/app/compare/@standardnotes/mobile@3.51.87...@standardnotes/mobile@3.52.0) (2023-04-17)
|
# [3.52.0](https://github.com/standardnotes/app/compare/@standardnotes/mobile@3.51.87...@standardnotes/mobile@3.52.0) (2023-04-17)
|
||||||
|
|
||||||
### Features
|
### Features
|
||||||
|
|||||||
@@ -74,27 +74,28 @@ public class Fido2ApiModule extends ReactContextBaseJavaModule {
|
|||||||
(AuthenticatorAssertionResponse) publicKeyCredential.getResponse();
|
(AuthenticatorAssertionResponse) publicKeyCredential.getResponse();
|
||||||
|
|
||||||
WritableMap signInResult = Arguments.createMap();
|
WritableMap signInResult = Arguments.createMap();
|
||||||
signInResult.putString("id", Base64.encodeToString(signedData.getKeyHandle(), Base64.URL_SAFE));
|
signInResult.putString("id", Base64.encodeToString(signedData.getKeyHandle(), Base64.URL_SAFE + Base64.NO_WRAP + Base64.NO_PADDING));
|
||||||
signInResult.putString("rawId", Base64.encodeToString(signedData.getKeyHandle(), Base64.URL_SAFE));
|
signInResult.putString("rawId", Base64.encodeToString(signedData.getKeyHandle(), Base64.URL_SAFE + Base64.NO_WRAP + Base64.NO_PADDING));
|
||||||
|
|
||||||
byte[] extensionOutputsBytes = null;
|
byte[] extensionOutputsBytes = null;
|
||||||
AuthenticationExtensionsClientOutputs extensionOutputs = publicKeyCredential.getClientExtensionResults();
|
AuthenticationExtensionsClientOutputs extensionOutputs = publicKeyCredential.getClientExtensionResults();
|
||||||
if (extensionOutputs != null) {
|
if (extensionOutputs != null) {
|
||||||
extensionOutputsBytes = extensionOutputs.serializeToBytes();
|
extensionOutputsBytes = extensionOutputs.serializeToBytes();
|
||||||
if (extensionOutputsBytes != null) {
|
if (extensionOutputsBytes != null) {
|
||||||
signInResult.putString("clientExtensionResults", Base64.encodeToString(extensionOutputsBytes, Base64.URL_SAFE));
|
signInResult.putString("clientExtensionResults", Base64.encodeToString(extensionOutputsBytes, Base64.URL_SAFE + Base64.NO_WRAP + Base64.NO_PADDING));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
WritableMap response = Arguments.createMap();
|
WritableMap response = Arguments.createMap();
|
||||||
response.putString("clientDataJSON", Base64.encodeToString(signedData.getClientDataJSON(), Base64.URL_SAFE));
|
response.putString("clientDataJSON", Base64.encodeToString(signedData.getClientDataJSON(), Base64.URL_SAFE + Base64.NO_WRAP + Base64.NO_PADDING));
|
||||||
response.putString("authenticatorData", Base64.encodeToString(signedData.getAuthenticatorData(), Base64.URL_SAFE));
|
response.putString("authenticatorData", Base64.encodeToString(signedData.getAuthenticatorData(), Base64.URL_SAFE + Base64.NO_WRAP + Base64.NO_PADDING));
|
||||||
response.putString("signature", Base64.encodeToString(signedData.getSignature(), Base64.URL_SAFE));
|
response.putString("signature", Base64.encodeToString(signedData.getSignature(), Base64.URL_SAFE + Base64.NO_WRAP + Base64.NO_PADDING));
|
||||||
byte[] userHandle = signedData.getUserHandle();
|
byte[] userHandle = signedData.getUserHandle();
|
||||||
if (userHandle != null) {
|
if (userHandle != null) {
|
||||||
response.putString("userHandle", Base64.encodeToString(userHandle, Base64.URL_SAFE));
|
response.putString("userHandle", Base64.encodeToString(userHandle, Base64.URL_SAFE + Base64.NO_WRAP + Base64.NO_PADDING));
|
||||||
}
|
}
|
||||||
signInResult.putMap("response", response);
|
signInResult.putMap("response", response);
|
||||||
|
signInResult.putString("type", PublicKeyCredentialType.PUBLIC_KEY.toString());
|
||||||
|
|
||||||
signInPromise.resolve(signInResult);
|
signInPromise.resolve(signInResult);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@standardnotes/mobile",
|
"name": "@standardnotes/mobile",
|
||||||
"version": "3.52.0",
|
"version": "3.52.1",
|
||||||
"author": "Standard Notes.",
|
"author": "Standard Notes.",
|
||||||
"private": true,
|
"private": true,
|
||||||
"license": "AGPL-3.0-or-later",
|
"license": "AGPL-3.0-or-later",
|
||||||
|
|||||||
@@ -3,6 +3,10 @@
|
|||||||
All notable changes to this project will be documented in this file.
|
All notable changes to this project will be documented in this file.
|
||||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||||
|
|
||||||
|
## [1.4.232](https://github.com/standardnotes/app/compare/@standardnotes/releases@1.4.231...@standardnotes/releases@1.4.232) (2023-04-18)
|
||||||
|
|
||||||
|
**Note:** Version bump only for package @standardnotes/releases
|
||||||
|
|
||||||
## [1.4.231](https://github.com/standardnotes/app/compare/@standardnotes/releases@1.4.230...@standardnotes/releases@1.4.231) (2023-04-17)
|
## [1.4.231](https://github.com/standardnotes/app/compare/@standardnotes/releases@1.4.230...@standardnotes/releases@1.4.231) (2023-04-17)
|
||||||
|
|
||||||
**Note:** Version bump only for package @standardnotes/releases
|
**Note:** Version bump only for package @standardnotes/releases
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@standardnotes/releases",
|
"name": "@standardnotes/releases",
|
||||||
"version": "1.4.231",
|
"version": "1.4.232",
|
||||||
"license": "AGPL-3.0-or-later",
|
"license": "AGPL-3.0-or-later",
|
||||||
"main": "dist/releases.json",
|
"main": "dist/releases.json",
|
||||||
"types": "dist/index.d.ts",
|
"types": "dist/index.d.ts",
|
||||||
|
|||||||
@@ -10,9 +10,9 @@
|
|||||||
"relation": ["delegate_permission/common.handle_all_urls", "delegate_permission/common.get_login_creds"],
|
"relation": ["delegate_permission/common.handle_all_urls", "delegate_permission/common.get_login_creds"],
|
||||||
"target": {
|
"target": {
|
||||||
"namespace": "android_app",
|
"namespace": "android_app",
|
||||||
"package_name": "com.standardnotes.dev",
|
"package_name": "com.standardnotes",
|
||||||
"sha256_cert_fingerprints": [
|
"sha256_cert_fingerprints": [
|
||||||
"FA:C6:17:45:DC:09:03:78:6F:B9:ED:E6:2A:96:2B:39:9F:73:48:F0:BB:6F:89:9B:83:32:66:75:91:03:3B:9C"
|
"58:3F:C4:1B:49:0C:38:0B:56:FB:E9:EE:47:38:1E:B4:EF:53:E0:37:19:A5:50:3F:C1:F2:9D:CD:8E:28:90:2A"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user