Skip to content

derivepassphrase bug print-service-notes

Bug details: derivepassphrase vault does not print service notes

ClassbugThis is clearly an actual problem we want fixed.
Present-in0.1.0 0.1.1 0.1.2 0.2.0 0.3.0 0.3.1 0.3.2 0.3.3 0.4.0
Fixed-in9b5805eb652e97ee4b63f6afbcf9563aba3311f0 (0.5)
Blocksprint-service-notes-above

If vault(1) is asked to derive a passphrase for a service, and that service has associated notes, then vault(1) prints the notes (to standard error) after printing the derived passphrase.

derivepassphrase vault currently doesn’t do this; it stores the notes, but doesn’t otherwise access or act on them (apart from importing or exporting the configuration).

Therefore, make derivepassphrase vault also print the service notes when printing a derived passphrase.

This is an easy change on the technical side, but a somewhat tedious one concerning the documentation and the tests that need updating and/or rewriting.