lastpass / lastpass-cli

LastPass command line interface tool
GNU General Public License v2.0
2.85k stars 289 forks source link

Parameter note-type not reflected, always got secure note despite `--note-type=Database` was specified #681

Open J0zi opened 2 months ago

J0zi commented 2 months ago

Hi, I want a DB secret to be stored in LastPass

executing printf "Username: jozef.test\nPassword: somepw" | lpass add --non-interactive --note-type=Database "Shared-user-jozef/database/some-cluster11" --sync=now

Result is a secure note:

lpissue2

Expected Database type:

lpok

I suppose that --note-type=Database will create a Database note type, however it created NoteType:Database entry under Notes

An older version was creating correct Database entries, not sure which one.

LastPass CLI v1.3.6.9.g1cdf78c

eldadpuzach commented 1 week ago

Same here with LastPass CLI v1.5.0.GIT Old version worked correctly: lastpass-cli-1.3.3