Skip to content

fix upload authentication vulnerability#8

Open
abraxxa wants to merge 4 commits into
shadowcat-mst:masterfrom
abraxxa:master
Open

fix upload authentication vulnerability#8
abraxxa wants to merge 4 commits into
shadowcat-mst:masterfrom
abraxxa:master

Conversation

@abraxxa

@abraxxa abraxxa commented May 6, 2020

Copy link
Copy Markdown

No description provided.

@shadowcat-mst

Copy link
Copy Markdown
Owner

(1) calling this a vulnerability is an error since the documentation is currently clear that it's designed to provide a single password that functions as a shared secret - "authentication improvement" would be a better description IMO (and I'm fine with the ensuing compat breakage provided we detect the old-style auth tokens and barf)
(2) it'd be nice to at least support sha-style htpasswd entries and provide a CLI example of how to generate one of those
(3) there should likely be a command for generating the b64 version or at least an example of how to use an external unix tool to do so

General shape of the PR seems fine at a first look though, the above is all arguably details

abraxxa added 3 commits March 1, 2021 16:43
only checked password, not username
This required to change the OPAN_AUTH_TOKENS, see the docs for detailsFix upload authentication vulnerability only checked password, not username This required to change the OPAN_AUTH_TOKENS, see the docs for detailsfix upload authentication vulnerability

only checked password, not username

This required to change the OPAN_AUTH_TOKENS, see the docs for details
@abraxxa abraxxa force-pushed the master branch 2 times, most recently from db48e41 to 26992f9 Compare March 1, 2021 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants