recovery: compute local key only ones
recovery: add ability to switch output formats.