New issue
Advanced search Search tips

Issue 687361 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

cryptohome: TpmGetPassword uses string for a password and truncates it at the first zero byte

Project Member Reported by apronin@chromium.org, Jan 31 2017

Issue description

Currently, cryptohome D-Bus interface uses the string type to get passwords in the TpmGetPassword command and truncates the password at the first zero byte.

With tpm password being just an array of random bytes (that may include 00) rather than a string of printable characters, the interface should use an appropriate representation for it.
 
Labels: -Pri-2 Pri-3
The owner password now is always a printable string: https://chromium-review.googlesource.com/#/c/440412/
So, supporting 00 bytes in the password string is not relevant for the current version.
Components: OS>Systems>Security

Sign in to add a comment