Git Product home page Git Product logo

Comments (15)

briandilley avatar briandilley commented on June 22, 2024

Nice desktop background.

Here's the link in that screenshot

Will look into it.

from flow-java-client-example.

jereanon avatar jereanon commented on June 22, 2024

Issue is being worked on here: https://github.com/the-nft-company/flow-jvm-sdk/tree/android-crypto

from flow-java-client-example.

LB6264 avatar LB6264 commented on June 22, 2024

fd228f4312ece9a3d95581a5a4ece24
Hello, relying on the Android-Crypto branch, there is a new problem

from flow-java-client-example.

briandilley avatar briandilley commented on June 22, 2024

We're going to have to create a completely different crypto implementation for android. Really all that's required for using the SDK is implementations of Signer and Hasher.

from flow-java-client-example.

LB6264 avatar LB6264 commented on June 22, 2024

@briandilley Thank you for wanting to let me know when it's fixed

from flow-java-client-example.

LB6264 avatar LB6264 commented on June 22, 2024

@briandilley We're going to have to create a completely different crypto implementation for android. Really all that's required for using the SDK is implementations of Signer and Hasher.


At present, I cannot correctly use Flow creation and transaction on Android phone. May I ask when the problem of appeal can be fixed? Worried about something

from flow-java-client-example.

LB6264 avatar LB6264 commented on June 22, 2024

image
image
AndroidCrypto signature caused the above problems in the test network, Java platform is normal, can help fix the android platform to create accounts and transactions

from flow-java-client-example.

bluesign avatar bluesign commented on June 22, 2024

isn't P-256 should be secp256r1 ?

from flow-java-client-example.

LB6264 avatar LB6264 commented on June 22, 2024

isn't P-256 should be secp256r1 ?

There is no problem with the business code, the same set of code should not appear correctly on the Jave platform, but the above error occurs on the Android platform

from flow-java-client-example.

bluesign avatar bluesign commented on June 22, 2024

@LB6264 I meant for Android, I maybe wrong, but I think P-256 is named as secp256r1 on Android, can you try with secp256r1instead of P-256 ? You can change it in SDK code, and try if it works. ( I don't have access to Android tooling unfortunately right now )

from flow-java-client-example.

LB6264 avatar LB6264 commented on June 22, 2024

@LB6264 I meant for Android, I maybe wrong, but I think P-256 is named as secp256r1 on Android, can you try with secp256r1instead of P-256 ? You can change it in SDK code, and try if it works. ( I don't have access to Android tooling unfortunately right now )

signAlgo=ECDSA_P256, hashAlgo=SHA3_256, weight=1000, sequenceNumber=78 The key is ECDSA_P256, can not be simply changed to secP256R1 directly, and this does not solve the problem, the essence is also android signature problem, I wonder if there is a solution to fix this part?

from flow-java-client-example.

bluesign avatar bluesign commented on June 22, 2024

signAlgo=ECDSA_P256, hashAlgo=SHA3_256, weight=1000, sequenceNumber=78 The key is ECDSA_P256, can not be simply changed to secP256R1 directly, and this does not solve the problem, the essence is also android signature problem, I wonder if there is a solution to fix this part?

what I meant was:

src/main/kotlin/org/onflow/sdk/models.kt line 62
P-256 -> secp256r1

from flow-java-client-example.

LB6264 avatar LB6264 commented on June 22, 2024

signAlgo=ECDSA_P256, hashAlgo=SHA3_256, weight=1000, sequenceNumber=78 The key is ECDSA_P256, can not be simply changed to secP256R1 directly, and this does not solve the problem, the essence is also android signature problem, I wonder if there is a solution to fix this part?

what I meant was:

src/main/kotlin/org/onflow/sdk/models.kt line 62 P-256 -> secp256r1

I have tried, and still report the same error

[Error Code: 1006] invalid proposal key: public key 0 on account 2d86961881b70678 does not have a valid signature: [Error Code: 1009] invalid envelope key: public key 0 on account 2d86961881b70678 does not have a valid signature: signature is not valid

from flow-java-client-example.

bluesign avatar bluesign commented on June 22, 2024

There is signature in the transaction, so it is signing. You should not obfuscate Flow classes also just keep in mind.

from flow-java-client-example.

LB6264 avatar LB6264 commented on June 22, 2024

There is signature in the transaction, so it is signing. You should not obfuscate Flow classes also just keep in mind.

At present, it is the android platform signature problem. I haven't solved it yet, so I hope the official solution can be found

from flow-java-client-example.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.