Nitrokey / pynitrokey

Python client for Nitrokey devices
Apache License 2.0
98 stars 27 forks source link

Secrets list with metadata #391

Closed szszszsz closed 1 year ago

szszszsz commented 1 year ago

This PR extends Secrets App Credential listing with metadata.

Changes

To do:

Checklist

Make sure to run make check and make fix before creating a PR, otherwise the CI will fail.

Test Environment and Execution

Relevant Output Example

~/w/pynitrokey (secrets-list-with-metadata|✚3) $ ./venv/bin/nitropy nk3 secrets list
Command line tool to interact with Nitrokey devices 0.4.36
Please provide PIN to show PIN-protected entries (if any), or press ENTER to skip
Please touch the device if it blinks
Current PIN (8 attempts left):
Please touch the device if it blinks
01. ======CRED ID=======        Totp/Sha1       touch required,PIN required,PWS data available

Connected: https://github.com/Nitrokey/trussed-secrets-app/pull/70