You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 27, 2024. It is now read-only.
I guess it's because of the architecture difference. But, I have seen that kilic/bls12-381 support non-ARM architectures: kilic/bls12-381#2.
Could you check if this scenarios is not intended to be done in mobile environments? Then, it seems that any selective disclosure features don't work in mobile environments.
Sample code / test case
packageorg.example.myapplication;
importandroidx.appcompat.app.AppCompatActivity;
importandroid.os.Bundle;
importandroid.util.Log;
importorg.hyperledger.aries.api.AriesController;
importorg.hyperledger.aries.api.KMSController;
importorg.hyperledger.aries.ariesagent.Ariesagent;
importorg.hyperledger.aries.config.Options;
importorg.hyperledger.aries.models.RequestEnvelope;
importorg.hyperledger.aries.models.ResponseEnvelope;
importjava.nio.charset.StandardCharsets;
publicclassMainActivityextendsAppCompatActivity {
@OverrideprotectedvoidonCreate(BundlesavedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
Optionsopts = newOptions();
opts.setUseLocalAgent(true);
opts.setLogLevel("debug");
try {
AriesControllerariesController = Ariesagent.new_(opts);
KMSControllerkmsController = ariesController.getKMSController();
RequestEnveloperequestEnvelope = newRequestEnvelope("".getBytes(StandardCharsets.UTF_8));
// I hardcoded the request inside the createKeySet(), due to another issue.ResponseEnveloperesp = kmsController.createKeySet(requestEnvelope);
Log.i("", newString(resp.getPayload(), StandardCharsets.UTF_8));
} catch (Exceptione) {
e.printStackTrace();
}
}
}
As mentioned as a comment in the sample code, I hardcoded the request in the createKeySet(...) due to #2754.
{"keyType":"BLS12381G2"}
The text was updated successfully, but these errors were encountered:
What I'm trying to do
I was trying to generate a keySet for BLS12381G2 using
KMSController
in the Android local agent.I'm using aries-framework-go v0.1.6.
Expected result
KMSController.createKeySet(..)
returns aResponseEnvelope
which contains a successful result.Actual result
Panic:
I guess it's because of the architecture difference. But, I have seen that kilic/bls12-381 support non-ARM architectures: kilic/bls12-381#2.
Could you check if this scenarios is not intended to be done in mobile environments? Then, it seems that any selective disclosure features don't work in mobile environments.
Sample code / test case
As mentioned as a comment in the sample code, I hardcoded the request in the
createKeySet(...)
due to #2754.The text was updated successfully, but these errors were encountered: