Giter Site home page Giter Site logo

为什么项目依赖了btcd about aliyunpan HOT 7 CLOSED

liomen avatar liomen commented on June 3, 2024 3
为什么项目依赖了btcd

from aliyunpan.

Comments (7)

cilidm avatar cilidm commented on June 3, 2024 1

看了下源码,github.com/btcsuite/btcd 在这里是一个间接依赖, github.com/tickstep/library-go/crypto/secp256k1 包使用了 github.com/btcsuite/btcd/btcec 子包来实现椭圆曲线数字签名算法。aliyunpan-api 包依赖于 library-go,而 aliyunpan-api 又被本项目使用。

如果不放心,可以本地克隆 aliyunpan-api 包,在本地修改 secp256k1 模块,移除 github.com/btcsuite/btcd 的依赖,直接实现secp256k1的功能。在项目中使用 replace 指令,将 aliyunpan-api 的引用指向本地修改过的版本

from aliyunpan.

NeoNexusX avatar NeoNexusX commented on June 3, 2024

逆天,我本来还想用的,吓死了

from aliyunpan.

tickstep avatar tickstep commented on June 3, 2024

因为阿里云的token签名用了这个曲线算法,你也可以用其他的库没影响

只在这里用了,不放心可以全局搜下
image

from aliyunpan.

kuangxiaoye avatar kuangxiaoye commented on June 3, 2024

因为阿里云的token签名用了这个曲线算法,你也可以用其他的库没影响

只在这里用了,不放心可以全局搜下 image

老哥 希望可以看下阿里云盘100m的问题XD

from aliyunpan.

xiaoyaofenfen avatar xiaoyaofenfen commented on June 3, 2024

因为阿里云的token签名用了这个曲线算法,你也可以用其他的库没影响
只在这里用了,不放心可以全局搜下 image

老哥 希望可以看下阿里云盘100m的问题XD

下载限制的问题请在#375统一跟进

from aliyunpan.

xiaoyaofenfen avatar xiaoyaofenfen commented on June 3, 2024

这个我看看能不能换一个其他加密库吧,让大家放心点

from aliyunpan.

liomen avatar liomen commented on June 3, 2024

看了下代码,确实只用到了btc的椭圆曲线,没有用到其他的,我的锅,检讨
另外,感谢作者

from aliyunpan.

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.