History log of /bootable/recovery/verifier_test.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
99916f0496cfe37891d40f21a9a0e387620a8a60 13-Jan-2014 Doug Zongker <dougz@android.com> do verification and extraction on memory, not files

Changes minzip and recovery's file signature verification to work on
memory regions, rather than files.

For packages which are regular files, install.cpp now mmap()s them
into memory and then passes the mapped memory to the verifier and to
the minzip library.

Support for files which are raw block maps (which will be used when we
have packages written to encrypted data partitions) is present but
largely untested so far.

Bug: 12188746
Change-Id: I12cc3e809834745a489dd9d4ceb558cbccdc3f71
/bootable/recovery/verifier_test.cpp
7a4adb5268ae71260c86788ccdeb7a699c80ee0a 09-Oct-2013 Kenny Root <kroot@google.com> Add support for ECDSA signatures

This adds support for key version 5 which is an EC key using the NIST
P-256 curve parameters. OTAs may be signed with these keys using the
ECDSA signature algorithm with SHA-256.

Change-Id: Id88672a3deb70681c78d5ea0d739e10f839e4567
/bootable/recovery/verifier_test.cpp
30362a6ad132cbafde82cc57293e00679d4f86c2 10-Apr-2013 Doug Zongker <dougz@android.com> verifier: update to support certificates using SHA-256

(cherry picked from commit bac7fba02763ae5e78e8e4ba0bea727330ad953e)

Change-Id: I01c38d7fea088622a8b0bbf2c833fa2d969417af
/bootable/recovery/verifier_test.cpp
7c3ae45ef9306d2ff4b491e0488c8849bf15ce90 14-May-2013 Doug Zongker <dougz@android.com> recovery: turn on text display for install errors in debug builds

Hopefully this will reduce the number of OTA "bugs" reported that are
really just someone having changed their system partition,
invalidating future incremental OTAs.

Also fixes a longstanding TODO about putting LOGE() output in the
on-screen display.

Change-Id: I44e5be65b2dee7ebce2cce28ccd920dc3d6e522e
/bootable/recovery/verifier_test.cpp
6c249f7ae890694f061bfde7a3ab52bf367be110 02-Nov-2012 Doug Zongker <dougz@android.com> move key loading to verifier code

Add an option to verifier_test to load keys from a file, the way the
recovery does.

Change-Id: Icba0e391164f2c1a9fefeab4b0bcb878e91d17b4
/bootable/recovery/verifier_test.cpp
17495277b1a6328f5cae68523ad00be1f1107950 25-Jul-2012 Doug Zongker <dougz@android.com> support version 2 (2048-bit e=65537) keys in recovery

Change-Id: I9849c69777d513bb12926c8c622d1c12d2da568a
/bootable/recovery/verifier_test.cpp
32a0a47a596509792fde8cdbf8b4b0705708b2be 01-Nov-2011 Doug Zongker <dougz@android.com> move key processing to RecoveryUI

Move the key for handling keys from ScreenRecoveryUI to RecoveryUI, so
it can be used by devices without screens. Remove the UIParameters
struct and replace it with some new member variables in
ScreenRecoveryUI.

Change-Id: I70094ecbc4acbf76ce44d5b5ec2036c36bdc3414
/bootable/recovery/verifier_test.cpp
daefc1d442fb421606680feb9aeb59c133f4c427 31-Oct-2011 Doug Zongker <dougz@android.com> C++ class for device-specific code

Replace the device-specific functions with a class. Move some of the
key handling (for log visibility toggling and rebooting) into the UI
class. Fix up the key handling so there is less crosstalk between the
immediate keys and the queued keys (an increasing annoyance on
button-limited devices).

Change-Id: I698f6fd21c67a1e55429312a0484b6c393cad46f
/bootable/recovery/verifier_test.cpp
28ce47cfa6919518a8c298088bf08b03bb374c0f 28-Oct-2011 Doug Zongker <dougz@android.com> turn recovery into a C++ binary

Change-Id: I423a23581048d451d53eef46e5f5eac485b77555
/bootable/recovery/verifier_test.cpp