hass-core/homeassistant
Josh Wright 80d6e9f08f Use constant time comparison for http authentication (#1804)
In order to prevent a potential timing attack, it's important to make
sure the password check takes the same amount of time, regardless of
how many characters in the candidate password match the real password.

This commit does increase the verbosity of the authentication check.
Generally it is a good idea for authentication logic to be very clear,
even if that requires some extra verbosity.
2016-04-11 19:36:25 -07:00
..
components Use constant time comparison for http authentication (#1804) 2016-04-11 19:36:25 -07:00
helpers Make all entity_ids lowercase (#1786) 2016-04-10 15:20:20 -07:00
startup Fix packaging issues 2015-10-10 10:33:09 -07:00
util Make yaml config parser errors look less like bugs. (#1776) 2016-04-09 15:25:01 -07:00
__init__.py Fix PEP257 issues 2016-03-08 00:06:04 +01:00
__main__.py Add initial config validation 2016-03-28 23:46:12 -07:00
bootstrap.py Make yaml config parser errors look less like bugs. (#1776) 2016-04-09 15:25:01 -07:00
config.py Add yr weather component to default config 2016-03-30 11:33:35 +02:00
const.py Allow use of pynetgear 3.3 port parameter. (#1777) 2016-04-09 20:29:06 -07:00
core.py Move service scheme validation into Service.__call__ 2016-03-31 21:13:40 -04:00
exceptions.py Fix PEP257 issues 2016-03-08 00:06:04 +01:00
loader.py Add automation config validation 2016-04-04 12:18:58 -07:00
remote.py Fix PEP257 issues 2016-03-08 00:06:04 +01:00