ecryptfs-mount-private fails to initialize ecryptfs keys
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ecryptfs-utils (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
systemd (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
ecryptfs-
After the unsucessful attempt dmesg contains:
[ 1265.695388] Could not find key with description: [<correct key ID>]
[ 1265.695393] process_
[ 1265.695394] Could not find valid key in user session keyring for sig specified in mount option: [<correct key ID>]
[ 1265.695395] One or more global auth toks could not properly register; rc = [-2]
[ 1265.695396] Error parsing options; rc = [-2]
Note: The correct key ID has been replaced in the "<correct key ID>".
I also accidentally found an workaround - just running ecrytpfs-manager and then the ecryptfs-
host:~$ ecryptfs-manager
eCryptfs key management menu
-------
1. Add passphrase key to keyring
2. Add public key to keyring
3. Generate new public/private keypair
4. Exit
Make selection: 4
host:~$ ls Private/
Access-
host:~$ ecryptfs-
host:~$ ls Private/
<ecryptfs content is present>
tags: | added: artful |
Hello
Can you please add a tag for the version of Ubuntu you are using? (Xenial, Zesty, Artful)