Skip to content

Conversation

@tminakov
Copy link

The changes can be summarized in two major areas:

  • the password checks are exclusively through bcrypt, thus mitigating timing attacks - inspired from the go implementation, done by @lupine

  • code cleanup and refactoring:

    • all operations involving the config are now in the serverconfig.py (ex "init.py") file, separation of logic and purpose
    • the server can be initialized/ran on Windows now - shortcuted the writability check done by pwd
    • a couple of small bugss/corner cases covered

Todor Minakov and others added 3 commits October 14, 2017 14:25
…uration functions to it - separation of logic

* FIX - the "list" CLI option works once again
* FEAT - skipping of directory writability check, thus allowing to work under Windows
…ser & group permissions in one pass, and is more complete. Minor docstrings updates
…uest attribute, bcrypt it & compare it like this; if the config file does not have bcrypted password - generate it on load
@tminakov
Copy link
Author

Travis failed on py3.2, at the import of logbook and requests; this amazes me a lot (to put it mildly), and I'm not sure how shall that be fixed - and shall it at all.

@tminakov
Copy link
Author

Hi @stephanepechard, any update of the merge, is there something bothering you with the code? I'd really like to see it in, to use as a base for some new development.

Thanks,
Todor

@stephanepechard
Copy link
Member

@tminakov Did you validate your changes on OSes other than Windows?

@tminakov
Copy link
Author

tminakov commented Oct 25, 2017

Yes, on Ubuntu - my main dev environment, and Debian - my main execution one; the Windows' writability check skip is just "to get it done" and for compatibility - but I've tested it there also.

@tminakov
Copy link
Author

By the way, I should've mentioned it - looked into the 3.2 failure, and it comes from the requests library - it does not support it, as a lot of others also don't:

psf/requests#3479

psf/requests#3507 (comment)

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants