Vadim Bendebury 91c21643a9 ccd: require password to change or clear it
Let's not allow the user to clear or change CCD password without
specifying the old password.

To keep things simple, two changes are being made:

  - do not allow setting password if password is already set

  - when clearing the password require user to enter
    'clear:<password>' instead of just 'clear'

BRANCH=cr50
BUG=b:70029808
TEST=verified that setting password is possible only if there is no
     password set currently, and that invoking 'ccd password
     clear:<old password>' indeed clears the password.

Change-Id: I3753c2701e224ef89b25ad68c1b47b54eef9cdb1
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/813098
Reviewed-by: Randall Spangler <rspangler@chromium.org>
2017-12-09 16:03:29 -08:00
2017-08-07 19:29:13 -07:00
2017-11-30 07:09:47 -08:00
2017-07-08 20:38:53 -07:00
2017-10-10 22:13:43 -07:00
2017-11-17 20:18:38 -08:00
2012-05-11 09:11:52 -07:00
2014-04-02 19:58:53 +00:00
2017-11-16 21:07:40 -08:00

For an overview of the Embedded Controller firmware, refer to

http://www.chromium.org/chromium-os/2014-firmware-summit

For instructions on building from source, refer to

http://www.chromium.org/chromium-os/ec-development/getting-started-building-ec-images-quickly
Description
No description provided
Readme 1.4 GiB
Languages
C 64.7%
Lasso 20.7%
ASL 3.6%
JavaScript 3.2%
C# 2.9%
Other 4.6%