Git Product home page Git Product logo

Comments (4)

sts10 avatar sts10 commented on May 25, 2024

I'm having some trouble with this in v 0.6.0.

I confirmed that my age key is in ~/.config/age/keys.txt. I then encrypt a file with:

rage -i ~/.config/age/keys.txt -e -o encrypted.txt secrets.txt

Expected behavior

I thought I'd be able to decrypt this file with rage -d encrypted.txt, but I get an error:

Error: Missing identities.
Did you forget to specify -i/--identity?

Running rage -i ~/.config/age/keys.txt -d encrypted.txt does work: it prints the contents of secrets.txt to the terminal. I think this shows that the keys.txt file is correctly formatted.

I'll note that that I generated my key back in September of 2020, in case relevant. Also I'm running Ubuntu 20.04.2 LTS.

from rage.

str4d avatar str4d commented on May 25, 2024

Support for a default identity path was removed in rage 0.5.0 (and similarly in age), as we reached the conclusion that identities should be context-specific. As you correctly surmise, you can still pass the old path to rage directly to decrypt with those identities.

from rage.

str4d avatar str4d commented on May 25, 2024

Specifically, it was removed in #152.

from rage.

sts10 avatar sts10 commented on May 25, 2024

Gotcha. Thanks for info, and your work!

from rage.

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.