Code Monkey home page Code Monkey logo

Comments (8)

Xynnn007 avatar Xynnn007 commented on July 16, 2024 2

Yea, the problems here is very funny. It seems that the definition of base64 dependency of sequoia-openpgp causes this.

  • base64 crate abondoned decode_config_slice and some other apis (or change the directory) from ver 0.13.0 to ver 0.20.0 one day ago.
  • sequoia-openpgp asks for a base64 version >= 0.12 here but use base64's <=0.13.0 apis.
  • When image-rs is being built, a base64 0.20.0 and sequoia-openpgp 1.11.0 who leverages base64's 0.13.0 api is involved

The core problem is that base64 crate was published (1 day ago) with API changed but without modification of major version number.

  • A temporary way is to fix base64 version in image-rs
  • A better but future way is wait sequoia-openpgp to use a fixed version of base64

@jiere @hairongchen

from enclave-cc.

Xynnn007 avatar Xynnn007 commented on July 16, 2024 1

Related issue for sequoia-pgp https://gitlab.com/sequoia-pgp/sequoia/-/issues/961

from enclave-cc.

hairongchen avatar hairongchen commented on July 16, 2024

this crate is used in image-rs
@Xynnn007 @arronwy

from enclave-cc.

hairongchen avatar hairongchen commented on July 16, 2024

base info:
hrc@cre-M50CYP2SBSTD:/tmp/image-rs$ cargo tree |grep sequoia-openpgp
├── sequoia-openpgp v1.11.0

hrc@cre-M50CYP2SBSTD:/tmp/image-rs$ cargo tree |grep base6
│ ├── base64 v0.13.1
│ │ │ │ └── base64ct v1.5.3
│ │ │ │ │ ├── base64ct v1.5.3
├── base64 v0.13.1
│ │ ├── base64 v0.13.1
│ │ ├── base64 v0.13.1
│ ├── base64 v0.13.1
│ ├── base64-serde v0.6.1
│ │ ├── base64 v0.13.1
│ │ ├── base64 v0.13.1
│ ├── base64 v0.13.1
│ ├── base64 v0.20.0
│ │ │ ├── base64 v0.13.1
│ ├── base64 v0.13.1
│ │ ├── base64 v0.13.1
│ │ │ ├── base64 v0.13.1
│ │ └── base64 v0.13.1
│ │ ├── base64 v0.13.1
│ │ │ ├── base64 v0.13.1
│ ├── base64 v0.13.1
│ ├── base64 v0.13.1

from enclave-cc.

HaokunX-intel avatar HaokunX-intel commented on July 16, 2024

CI logs show in here and here

from enclave-cc.

jiere avatar jiere commented on July 16, 2024
  • A better but future way is wait sequoia-openpgp to use a fixed version of base64

Thanks so much for your quick finding, @Xynnn007.
sequoia-openpgp seems to be a Gitlab project, who has account could help raise an issue there?
Anyway, for us, I think the first way makes sense.

from enclave-cc.

Xynnn007 avatar Xynnn007 commented on July 16, 2024

sequoia-openpgp seems to be a Gitlab project, who has account could help raise an issue there?

Yea, I'd like to open an issue there. Before this, I found it a little problematic to fix this in image-rs. I will open an PR in enclave-cc to fix this first.

from enclave-cc.

Xynnn007 avatar Xynnn007 commented on July 16, 2024

FYI, https://gitlab.com/sequoia-pgp/sequoia/-/issues/961 now is fixed. We can update Cargo.lock when it is needed.

from enclave-cc.

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.