Skip to content
This repository has been archived by the owner on Jun 23, 2023. It is now read-only.

Base64 password to bypass passport issue #297

Closed
wants to merge 1 commit into from

Conversation

bguillaumat
Copy link

@bguillaumat bguillaumat commented Feb 6, 2021

This fix resolve getumbrel/umbrel#424

The passwords are transformed in b64 with btoa to bypass the Passport issue who's splitting passwors with colon

Linked to getumbrel/umbrel-manager#76
Linked to getumbrel/umbrel-middleware#79

Thx @louneskmt @AaronDewes for the base64 tip

@AaronDewes
Copy link
Contributor

This also needs to be implemented on the manager side, because otherwise users won't be able to login after an update

@bguillaumat
Copy link
Author

bguillaumat commented Feb 6, 2021

This also needs to be implemented on the manager side, because otherwise users won't be able to login after an update

Sure thing! I will add it tomorrow

@bguillaumat bguillaumat marked this pull request as draft February 7, 2021 15:50
@bguillaumat bguillaumat marked this pull request as ready for review February 8, 2021 08:23
@lukechilds
Copy link
Member

Just for reference, corresponding Passport issue is here: jaredhanson/passport-http#20

It's been open since 2014!

@AaronDewes
Copy link
Contributor

Just for reference, corresponding Passport issue is here: jaredhanson/passport-http#20

It's been open since 2014!

passport-http-2 and modern-passport-http both provide a fix for that.

@lukechilds
Copy link
Member

Closed by getumbrel/umbrel-manager#78

@lukechilds lukechilds closed this Feb 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

password field length issue?
3 participants