that's actually really cool, i hadnt considered writing my own password manager but i feel like it'd be a fun and fairly useful project, did it take you particularly long to do? i'm interested in giving it a go :D
Have a look at https://www.passwordstore.org/ and also https://github.com/kmag/store_password_gpg