verdaccio: Can't login with htpasswd from old sinopia
Describe the bug We’re migrating from old sinopia. Just used htpasswd file from sinopia and got a problem with login
To Reproduce
- get htpasswd file from sinopia and use it in verdaccio
- try to login
- get an error
npm ERR! code EAUTHIP
npm ERR! Unable to authenticate, need: Basic, Bearer
Expected behavior Correct authentification
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 21 (15 by maintainers)
It is available here . https://github.com/verdaccio/verdaccio-htpasswd/blob/36ef763f1ac9b83ba09d639fe9c41d5ffbbfa230/src/utils.js#L50
It is in verdaccio 3 and all versions of verdaccio-htpasswd
We have used htpasswd file from sinopia and got the error. Then we created a new empty htpasswd file, added a user and error was disappeared I’ll diff the passwords from old an new file only on Monday
let’s wait @smelukov feedback, but I think is not a verdaccio issue.