Coder Social home page Coder Social logo

Latest release spins CPU about age HOT 4 OPEN

notramo avatar notramo commented on June 20, 2024
Latest release spins CPU

from age.

Comments (4)

rumpelsepp avatar rumpelsepp commented on June 20, 2024

Can confirm this. Decrypting a small textfile with one line takes up to 5 minutes. I traced this down to this:

age/scrypt.go

Line 163 in 8e3f74c

k, err := scrypt.Key(i.password, salt, 1<<logN, 8, 1, chacha20poly1305.KeySize)

from age.

FiloSottile avatar FiloSottile commented on June 20, 2024

Interesting, I don't think we changed anything related to scrypt in this release. Did you maybe update the Go version at the same time? What happens if you build age v1.1.1 with an older version of Go?

from age.

rumpelsepp avatar rumpelsepp commented on June 20, 2024

I did a few tests yesterday, I downgraded the crypto package a few times. The problem stayed the same and was reproducible. Currently, I am not suffering from this problem any more, because I did a sysupgrade and rebooted my system. 😮 I will try a different go version once it reappears.

from age.

FiloSottile avatar FiloSottile commented on June 20, 2024

because I did a sysupgrade and rebooted my system

Huh!

If anyone else can reproduce it, I would love to get the binary and uname -a output, so I can try to track it down.

from age.

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.