Giter Site home page Giter Site logo

Comments (10)

Kanunnikoff avatar Kanunnikoff commented on July 21, 2024

And I don't see recoverPubkeyFrom(signature, message) method in the Crypto.h in my project (but it is there in Git: https://github.com/TrustWallet/trust-core/blob/master/Sources/Crypto.h) - is CocoaPods version so old? I can't invoke that method.

from trustsdk-ios.

Kanunnikoff avatar Kanunnikoff commented on July 21, 2024

Here https://github.com/TrustWallet/trust-core/blob/08cecb0d655df1b3fc250a36a9912bde2ca701a3/Tests/CryptoTests.swift I see let data = Crypto.recoverPubkey(from: signature, message: hash)!, but can't invoke Crypto.recoverPubkey(from, message) too.

from trustsdk-ios.

vikmeup avatar vikmeup commented on July 21, 2024

@dmitry-kanunnikoff make sure you run latest TrustCore lib

from trustsdk-ios.

Kanunnikoff avatar Kanunnikoff commented on July 21, 2024

@vikmeup Just checked:

Using TrezorCrypto (0.0.8)
Using TrustCore (0.2.2)
Using TrustSDK (0.0.1)

It is the latest from CocoaPods.

from trustsdk-ios.

vikmeup avatar vikmeup commented on July 21, 2024

@dmitry-kanunnikoff can and point to the master? we don't always push to cocoapods updated version

from trustsdk-ios.

Kanunnikoff avatar Kanunnikoff commented on July 21, 2024

@vikmeup Could you, please, tell how can I do that? I'm not a Xcode professional, and can add pods only.

from trustsdk-ios.

vikmeup avatar vikmeup commented on July 21, 2024

You can just specify in your pod file for each module

pod 'TrustCore', :git=>'https://github.com/TrustWallet/trust-core', :branch=> 'master'

from trustsdk-ios.

Kanunnikoff avatar Kanunnikoff commented on July 21, 2024

Mm, thank you very much! All works now! The signature's verifying is correct. Your help was really great!
@vikmeup Please, look at the similar issue on Android: trustwallet/TrustSDK-Android#10
Seems, signature is not ok there.

from trustsdk-ios.

vikmeup avatar vikmeup commented on July 21, 2024

@dmitry-kanunnikoff can you message me on telegram: @vikmeup for quicker feedback

from trustsdk-ios.

Kanunnikoff avatar Kanunnikoff commented on July 21, 2024

Thank you very much for your help!

from trustsdk-ios.

Related Issues (20)

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.