]> git.ozlabs.org Git - petitboot/commit
lib/pb-protocol: Add PB_PROTOCOL_ACTION_AUTHENTICATE
authorSamuel Mendoza-Jonas <sam@mendozajonas.com>
Tue, 19 Jun 2018 06:35:22 +0000 (16:35 +1000)
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>
Mon, 3 Dec 2018 03:39:57 +0000 (14:39 +1100)
commitde6f6c4bff7d42f63e2bbd01d2bab65ae9635877
tree1c78078b3f691025b2b1e07a728ed1bb398cac0a
parent5d7f93f2ee09de515e1e474fd752d52590b51793
lib/pb-protocol: Add PB_PROTOCOL_ACTION_AUTHENTICATE

Add a new "authenticate" action. Depending on the 'op' field this is
either a) an authentication request, b) a response indicating the
result, or c) a request to change the password.

Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
lib/pb-protocol/pb-protocol.c
lib/pb-protocol/pb-protocol.h