Skip to content

Passphrase entry could be made skippable #815

Closed

Description

@boogiewoogit

Some setups may not need a passphrase, e.g. when authentication was already taken care of (or in local/trusted environments). Currently, one would still have to provide some dummy passphrase and distribute that to everybody.

It would be very useful for such setups to be able to just skip passphrase/login altogether and have picoshare uploads be immediately available.

Activity

  1. mtlynch commented on Sep 28, 2026

    @mtlynch
    Owner

    Can you share a bit more about your scenario?

    The design of PicoShare is one admin and many limited-access consumers. If there's no admin password, then anyone can delete or upload files, which may be fine in a trusted environment, but at that point, why use PicoShare over something like a shared network drive?

  2. boogiewoogit commented on Sep 29, 2026

    @boogiewoogit
    Author

    Sure, consider something like https://github.com/oauth2-proxy/oauth2-proxy or similar, which can take care of authentication for a webapp via an external provider. Anyone accessing picoshare behind such a system would already be considered authenticated, so an option to remove the second layer of authentication would be quite useful.

    The optimal solution on paper would of course be native oauth2/oidc login support in picoshare, but I guess there's a reason this hasn't been discussed on here yet, according to my search. And I think it does make sense to pass on that for a pointedly minimalist app.

  3. mtlynch commented on Sep 29, 2026

    @mtlynch
    Owner

    Ah, I see. Yeah, that's unfortunately out of scope at this point, as it's pretty complex to implement OIDC support. Maybe I'll do it someday though if I convert all my internal apps to OIDC, as I definitely see the value.

  4. boogiewoogit commented on Sep 29, 2026

    @boogiewoogit
    Author

    I think you misread: this issue isn't about OIDC support! That's taken care of by oauth2-proxy. What I'm suggesting is really just an option to have no authentication in picoshare at all, concretely:

    If PS_SHARED_SECRET=="", then there is no login field, and assume everybody is logged in.

    With this, the experience can be much improved for setups using oauth2-proxy or similar. :-)

  5. mtlynch commented on Sep 29, 2026

    @mtlynch
    Owner

    I'm a bit confused. In your scenario, every user is admin of the PicoShare server?

  6. boogiewoogit commented on Sep 29, 2026

    @boogiewoogit
    Author

    At least, every user is trusted to be able to upload, download and delete files freely, yes. Is there more to being logged in I'm missing?

  7. mtlynch commented on Sep 30, 2026

    @mtlynch
    Owner

    Yeah, I think the use case is just too far from what PicoShare is designed for. The assumption in the design is that there is a sole admin and everyone else is a low-privilege user.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions