Updated 6/8/2018 to reflect the correct command
u2f_flags u2f , to include the usage info and the fact that this feature is now available in the stable channel.
With the new Google Pixelbook and the newest release of the Chrome dev channel, you can use the power button as a built-in UTF key for 2fa/2sv. This is useful, because the device only has two USB-C ports so you don’t want to permanently fill one up with a YubiKey 4c or 4c Nano.
To enable this feature, first make sure you have the newest version of Chrome from the stable channel, which you can download here:
Then, open the Chrome OS developer shell and enter the following:
Full docs available via
u2f_flags <u2f | g2f>[,verbose] Set flags to override the second-factor authentication daemon configuration.
u2f: Always enable the standard U2F mode even if not set in device policy.
g2f: Always enable the U2F mode plus some additional extensions.
verbose: Increase the daemon logging verbosity in /var/log/messages.