1 |
Hi there, |
2 |
|
3 |
I would like to store my ssh and gpg keys in my usb flash drive, but I'm not |
4 |
sure what's the best way to do it: |
5 |
|
6 |
If I use vfat so I can also read them from Windows I have two problems: |
7 |
first you must mount your USB key with a 0077 umask, so ssh and gpg doesn't |
8 |
complain about key permissions; latest KDE version seems to auto mount USB |
9 |
flash drives using pmount with a 0022 umask and I haven't been able to |
10 |
change this, so I either mount it manually or change the permissions after |
11 |
being mounted. The second problem is related to gpg: it seems that gpg uses |
12 |
links to lock the keyrings, and vfat doesn't support them, so I'm able to |
13 |
read keys, but not to make any modfication on them. |
14 |
|
15 |
If I use ext2 the permission problem goes away (kind of), but I have the |
16 |
feeling that this isn't as portable as vfat, as the filesystem uses the user |
17 |
id to control access to files, and pluging the drive in another system where |
18 |
my user may have anoter uid leads me to chowning/chmoding in the better case |
19 |
or not having access to my keys in the worst case. |
20 |
|
21 |
Any ideas? |
22 |
|
23 |
Best regards |
24 |
Jose |