Giter Club home page Giter Club logo

Comments (6)

dominikschulz avatar dominikschulz commented on August 30, 2024 1

This behaviour is intentional. The error message is not ... optimal.

Similar to unix filesystems gopass isn't designed to support a folder with the same name as a file in the same folder.

from gopass.

jbg avatar jbg commented on August 30, 2024 1

wontfix even though this makes it incompatible with pass?

from gopass.

jbg avatar jbg commented on August 30, 2024 1

Thanks!!!

from gopass.

andrewstuart avatar andrewstuart commented on August 30, 2024

I think the important distiction is that domain.tld.gpg != domain.tld. These are obviously valid and distinct posix paths, though the original pass ignores the .gpg "extension", essentially allowing you to use the same name as both a password and a password folder.

Personally, I'd really like to see the behavior corrected. It's breaking, for one, if you're using scripts expecting this behavior (however unlikely), and it leaves a really awkward workaround for even accessing the original password: gopass mv domain.tld tmp && gopass mv domain.tld tmp/old-root && gopass mv tmp domain.tld.

This isn't a behavior I deliberately use, preferring to organize my passwords by domain, but I've still managed to somehow accumulate 9 "conflicts" over the course of a year.

from gopass.

jbg avatar jbg commented on August 30, 2024

Would a pull request be accepted to fix this incompatibility with pass? It's literally the only reason I haven't switched to gopass, and I know others who tried to switch and switched back when they couldn't access some of their secrets. This is an awesome project which I'm really grateful for the existence of, but sadly this is a needless compatibility break in a project that claims 100% compatibility.

If you're not going to fix this, then I suggest making some corrections to the README, as the following statements are not true:

  • "The stores do not impose any specific layout for your data."
  • "Because gopass is fully backwards compatible with pass…"
  • "Since gopass is fully compatible to pass…"
  • The checkmark next to "Be 100% pass compatible" in the roadmap.

from gopass.

dominikschulz avatar dominikschulz commented on August 30, 2024

We'd definitely consider a proper PR to lift this limitation, but we plan to work on the current tree implementation for one of the next releases as the current one has too many limitations.

But we should update the docs as well, since a lot of people seem to care about pass compatibility a lot more than we do: We usually just use gopass and don't go back.

from gopass.

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.