I have with help managed to use pass in debian with the nitrokey and it’s a great experience! very smooth!
I did backup the privatekey.asc and the secretkey.asc, and i’m not sure which key ended up on the nitrokey smartcard.
Now i want to move the passwords to another computer. How do i do that?
.gpg files end up in some hidden file in home, should i copy those or export in some ways, and how do i set up pass on the other machine? Any links you could share?
I had .asc and not .key… Not sure if i backed up correctly… I might have the private key on the nitrokey. I generated like 4 i think last time… Signing, authentication i have not learnt PGP yet… I might just need to import the public on the machine and use the nitrokey as the private? Will the secret/pricate collide in pgp?
Thanks i think i did that on another nitrokey, but the encryption said none when i used the:
gpg --edit-key --expert firstname.lastname@example.org
I did miss the encryption key because i had not generated keys on it yet right?
The encryption key is set to: Encryption key…: [none]
And same with General key info…: [none]
On the broken usb one with that command i get more info…
Secret key is available.
created: numbers expires: never usage: SC
trust: ultimate validity: ultimate
created: numbers expires: never usage: E
created: numbers expires: never usage: A
[ultimate] (1). user (user) email@example.com
So i do need to generate keys on the new nitrokey… But the passwords or hotp don’t disappear on the new key right? I’m not sure how to solve this issue in the best way, what would you do if your nitrokey broke and you had backup of the secret keys and such, but needed a new key?
You got time to write down some commands or links to old posts?
Don’t really know where to start. GPG is good, but yeah… I’m no expert in this… I might manually have to copy every password and generate new keys and a new database… hmm… Not sure. thank you for the support in the pass jungle.
Thanks again! Yeah i will try that… I did import some old keys like that earlier i reckon, but encryption key still said none. So i did that wrong… I might create new keys on the new nitrokey and start over… Paste them all in manually, if i don’t succeed with that.
I’m doing t wrong, so it needs to be done right that’s all.
Yeah true… I will test this i the weekend, been busy with other stuff… It’s quite allot to set all of this up on two keys hehe. I will fix this when i got the time. Been pushing it forward. It’s not a one-step process exactly. Enjoy your weekend, peace