parabuzzle / craneoperator

Gives you a simple web interface for browsing around a Docker Registry
https://hub.docker.com/r/parabuzzle/craneoperator
MIT License
127 stars 32 forks source link

fix for long passwords #54

Closed scones closed 5 years ago

scones commented 5 years ago

i ran into a little bug, where the password obviously exceeded the linewrap threshold, as i am tryiing to follow NIST guidelines on passwords. this resulted in a line wrap in the middle of the encoded string, thus invalidating the password. the chomp only removes the whitespaces before an after. strict mode does help with not even adding line feeds.

parabuzzle commented 5 years ago

Appreciate this.