How to repair encryption failure?
I use an encrypted external USB Hard Drive for storage. My PC no longer asks for a passphrase to open the Drive after a reboot or unplugging/replugging the USB cable. The Hard Drive just opens like an un-encrypted drive. The Ubuntu "Disks" tool shows that the external drive is still encrypted. The "Disks" tool also lets me toggle back and forth from Lock to Unlock, but neither setting enables the encryption. It is as if my PC just forgot that the external Hard Drive is encrypted.
I plugged the USB external Hard Drive into different Ubuntu (16.04) PC and encryption works fine. The alternate PC prompts for the drive's pass-code before the Drive can be opened. The encryption issue is specific to one Ubuntu workstation. The PC with the encryption issue is running Ubuntu 18.04 with all the software updates.
lekcin@SFF:~$ apt list cryptsetup -a Listing... Done
cryptsetup/bionic-updates 2:2.0.2-1ubuntu1.1 amd64
cryptsetup/bionic 2:2.0.2-1ubuntu1 amd64
In the Disks tool, with the top split screen highlighted, the paddle lock icon indicates that the Disk is locked, while the "Contents" line at the bottom of the tool reads UNLOCKED.
Thank you PerilDuck and Sebastian! I used the "Passwords and Keys" tool (AKA Seahorse) described in the "How to make login keyring forget a password" link provided by Sebastian. That resolved the issue. Now, when I try to open the encrypted Hard Drive, I'm prompted for a password. I also ran "sudo apt install cryptsetup" and it installed OK. Thanks Again.
usb hard-drive encryption
add a comment |
I use an encrypted external USB Hard Drive for storage. My PC no longer asks for a passphrase to open the Drive after a reboot or unplugging/replugging the USB cable. The Hard Drive just opens like an un-encrypted drive. The Ubuntu "Disks" tool shows that the external drive is still encrypted. The "Disks" tool also lets me toggle back and forth from Lock to Unlock, but neither setting enables the encryption. It is as if my PC just forgot that the external Hard Drive is encrypted.
I plugged the USB external Hard Drive into different Ubuntu (16.04) PC and encryption works fine. The alternate PC prompts for the drive's pass-code before the Drive can be opened. The encryption issue is specific to one Ubuntu workstation. The PC with the encryption issue is running Ubuntu 18.04 with all the software updates.
lekcin@SFF:~$ apt list cryptsetup -a Listing... Done
cryptsetup/bionic-updates 2:2.0.2-1ubuntu1.1 amd64
cryptsetup/bionic 2:2.0.2-1ubuntu1 amd64
In the Disks tool, with the top split screen highlighted, the paddle lock icon indicates that the Disk is locked, while the "Contents" line at the bottom of the tool reads UNLOCKED.
Thank you PerilDuck and Sebastian! I used the "Passwords and Keys" tool (AKA Seahorse) described in the "How to make login keyring forget a password" link provided by Sebastian. That resolved the issue. Now, when I try to open the encrypted Hard Drive, I'm prompted for a password. I also ran "sudo apt install cryptsetup" and it installed OK. Thanks Again.
usb hard-drive encryption
1
I once had a simliar question about my external, encrypted USB backup HDD (just like your case) and the answer basically was "as long assudo apt install cryptsetup
is done, it will work". I recently did a fresh install of 18.04.1 and it worked out of the box. Do you also have that "split screen" in the disks tool? What doesapt list cryptsetup
say? Is it[installed]
?
– PerlDuck
Dec 27 '18 at 18:35
Glad to hear your issue is solved now. Only few things are more frustrating than a proper backup that cannot be accessed. Please read What should I do when someone answers my question?. But no need to hurry, though. Just take your time.
– PerlDuck
Dec 29 '18 at 19:01
add a comment |
I use an encrypted external USB Hard Drive for storage. My PC no longer asks for a passphrase to open the Drive after a reboot or unplugging/replugging the USB cable. The Hard Drive just opens like an un-encrypted drive. The Ubuntu "Disks" tool shows that the external drive is still encrypted. The "Disks" tool also lets me toggle back and forth from Lock to Unlock, but neither setting enables the encryption. It is as if my PC just forgot that the external Hard Drive is encrypted.
I plugged the USB external Hard Drive into different Ubuntu (16.04) PC and encryption works fine. The alternate PC prompts for the drive's pass-code before the Drive can be opened. The encryption issue is specific to one Ubuntu workstation. The PC with the encryption issue is running Ubuntu 18.04 with all the software updates.
lekcin@SFF:~$ apt list cryptsetup -a Listing... Done
cryptsetup/bionic-updates 2:2.0.2-1ubuntu1.1 amd64
cryptsetup/bionic 2:2.0.2-1ubuntu1 amd64
In the Disks tool, with the top split screen highlighted, the paddle lock icon indicates that the Disk is locked, while the "Contents" line at the bottom of the tool reads UNLOCKED.
Thank you PerilDuck and Sebastian! I used the "Passwords and Keys" tool (AKA Seahorse) described in the "How to make login keyring forget a password" link provided by Sebastian. That resolved the issue. Now, when I try to open the encrypted Hard Drive, I'm prompted for a password. I also ran "sudo apt install cryptsetup" and it installed OK. Thanks Again.
usb hard-drive encryption
I use an encrypted external USB Hard Drive for storage. My PC no longer asks for a passphrase to open the Drive after a reboot or unplugging/replugging the USB cable. The Hard Drive just opens like an un-encrypted drive. The Ubuntu "Disks" tool shows that the external drive is still encrypted. The "Disks" tool also lets me toggle back and forth from Lock to Unlock, but neither setting enables the encryption. It is as if my PC just forgot that the external Hard Drive is encrypted.
I plugged the USB external Hard Drive into different Ubuntu (16.04) PC and encryption works fine. The alternate PC prompts for the drive's pass-code before the Drive can be opened. The encryption issue is specific to one Ubuntu workstation. The PC with the encryption issue is running Ubuntu 18.04 with all the software updates.
lekcin@SFF:~$ apt list cryptsetup -a Listing... Done
cryptsetup/bionic-updates 2:2.0.2-1ubuntu1.1 amd64
cryptsetup/bionic 2:2.0.2-1ubuntu1 amd64
In the Disks tool, with the top split screen highlighted, the paddle lock icon indicates that the Disk is locked, while the "Contents" line at the bottom of the tool reads UNLOCKED.
Thank you PerilDuck and Sebastian! I used the "Passwords and Keys" tool (AKA Seahorse) described in the "How to make login keyring forget a password" link provided by Sebastian. That resolved the issue. Now, when I try to open the encrypted Hard Drive, I'm prompted for a password. I also ran "sudo apt install cryptsetup" and it installed OK. Thanks Again.
usb hard-drive encryption
usb hard-drive encryption
edited Dec 29 '18 at 19:31
asked Dec 18 '18 at 17:23
Lekcin
235
235
1
I once had a simliar question about my external, encrypted USB backup HDD (just like your case) and the answer basically was "as long assudo apt install cryptsetup
is done, it will work". I recently did a fresh install of 18.04.1 and it worked out of the box. Do you also have that "split screen" in the disks tool? What doesapt list cryptsetup
say? Is it[installed]
?
– PerlDuck
Dec 27 '18 at 18:35
Glad to hear your issue is solved now. Only few things are more frustrating than a proper backup that cannot be accessed. Please read What should I do when someone answers my question?. But no need to hurry, though. Just take your time.
– PerlDuck
Dec 29 '18 at 19:01
add a comment |
1
I once had a simliar question about my external, encrypted USB backup HDD (just like your case) and the answer basically was "as long assudo apt install cryptsetup
is done, it will work". I recently did a fresh install of 18.04.1 and it worked out of the box. Do you also have that "split screen" in the disks tool? What doesapt list cryptsetup
say? Is it[installed]
?
– PerlDuck
Dec 27 '18 at 18:35
Glad to hear your issue is solved now. Only few things are more frustrating than a proper backup that cannot be accessed. Please read What should I do when someone answers my question?. But no need to hurry, though. Just take your time.
– PerlDuck
Dec 29 '18 at 19:01
1
1
I once had a simliar question about my external, encrypted USB backup HDD (just like your case) and the answer basically was "as long as
sudo apt install cryptsetup
is done, it will work". I recently did a fresh install of 18.04.1 and it worked out of the box. Do you also have that "split screen" in the disks tool? What does apt list cryptsetup
say? Is it [installed]
?– PerlDuck
Dec 27 '18 at 18:35
I once had a simliar question about my external, encrypted USB backup HDD (just like your case) and the answer basically was "as long as
sudo apt install cryptsetup
is done, it will work". I recently did a fresh install of 18.04.1 and it worked out of the box. Do you also have that "split screen" in the disks tool? What does apt list cryptsetup
say? Is it [installed]
?– PerlDuck
Dec 27 '18 at 18:35
Glad to hear your issue is solved now. Only few things are more frustrating than a proper backup that cannot be accessed. Please read What should I do when someone answers my question?. But no need to hurry, though. Just take your time.
– PerlDuck
Dec 29 '18 at 19:01
Glad to hear your issue is solved now. Only few things are more frustrating than a proper backup that cannot be accessed. Please read What should I do when someone answers my question?. But no need to hurry, though. Just take your time.
– PerlDuck
Dec 29 '18 at 19:01
add a comment |
2 Answers
2
active
oldest
votes
When you want to mount an encrypted drive you are usually asked if you want the passphrase to be forgotten immediately, stored until logout or stored forever. Your description sounds as if as some point you selected "Remember forever" on that machine. So the passphrase most likely got stored in a so-called keyring. Check out this question on how to remove it:
How to make login keyring forget a password
New contributor
This fixed my issue. Thank you Sebastian.
– Lekcin
Dec 29 '18 at 18:39
add a comment |
The output of your apt list cryptsetup -a
shows
Listing... Done
cryptsetup/bionic-updates 2:2.0.2-1ubuntu1.1 amd64
cryptsetup/bionic 2:2.0.2-1ubuntu1 amd64
which means the cryptsetup
tools are not installed. If they were,
it would rather look like
Listing... Done
cryptsetup/bionic-updates,now 2:2.0.2-1ubuntu1.1 amd64 [installed]
cryptsetup/bionic 2:2.0.2-1ubuntu1 amd64
Note the [installed]
indicator after the first line. Just install them
and you should be fine:
sudo apt install cryptsetup
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1102888%2fhow-to-repair-encryption-failure%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
When you want to mount an encrypted drive you are usually asked if you want the passphrase to be forgotten immediately, stored until logout or stored forever. Your description sounds as if as some point you selected "Remember forever" on that machine. So the passphrase most likely got stored in a so-called keyring. Check out this question on how to remove it:
How to make login keyring forget a password
New contributor
This fixed my issue. Thank you Sebastian.
– Lekcin
Dec 29 '18 at 18:39
add a comment |
When you want to mount an encrypted drive you are usually asked if you want the passphrase to be forgotten immediately, stored until logout or stored forever. Your description sounds as if as some point you selected "Remember forever" on that machine. So the passphrase most likely got stored in a so-called keyring. Check out this question on how to remove it:
How to make login keyring forget a password
New contributor
This fixed my issue. Thank you Sebastian.
– Lekcin
Dec 29 '18 at 18:39
add a comment |
When you want to mount an encrypted drive you are usually asked if you want the passphrase to be forgotten immediately, stored until logout or stored forever. Your description sounds as if as some point you selected "Remember forever" on that machine. So the passphrase most likely got stored in a so-called keyring. Check out this question on how to remove it:
How to make login keyring forget a password
New contributor
When you want to mount an encrypted drive you are usually asked if you want the passphrase to be forgotten immediately, stored until logout or stored forever. Your description sounds as if as some point you selected "Remember forever" on that machine. So the passphrase most likely got stored in a so-called keyring. Check out this question on how to remove it:
How to make login keyring forget a password
New contributor
New contributor
answered Dec 28 '18 at 21:38
Sebastian
564
564
New contributor
New contributor
This fixed my issue. Thank you Sebastian.
– Lekcin
Dec 29 '18 at 18:39
add a comment |
This fixed my issue. Thank you Sebastian.
– Lekcin
Dec 29 '18 at 18:39
This fixed my issue. Thank you Sebastian.
– Lekcin
Dec 29 '18 at 18:39
This fixed my issue. Thank you Sebastian.
– Lekcin
Dec 29 '18 at 18:39
add a comment |
The output of your apt list cryptsetup -a
shows
Listing... Done
cryptsetup/bionic-updates 2:2.0.2-1ubuntu1.1 amd64
cryptsetup/bionic 2:2.0.2-1ubuntu1 amd64
which means the cryptsetup
tools are not installed. If they were,
it would rather look like
Listing... Done
cryptsetup/bionic-updates,now 2:2.0.2-1ubuntu1.1 amd64 [installed]
cryptsetup/bionic 2:2.0.2-1ubuntu1 amd64
Note the [installed]
indicator after the first line. Just install them
and you should be fine:
sudo apt install cryptsetup
add a comment |
The output of your apt list cryptsetup -a
shows
Listing... Done
cryptsetup/bionic-updates 2:2.0.2-1ubuntu1.1 amd64
cryptsetup/bionic 2:2.0.2-1ubuntu1 amd64
which means the cryptsetup
tools are not installed. If they were,
it would rather look like
Listing... Done
cryptsetup/bionic-updates,now 2:2.0.2-1ubuntu1.1 amd64 [installed]
cryptsetup/bionic 2:2.0.2-1ubuntu1 amd64
Note the [installed]
indicator after the first line. Just install them
and you should be fine:
sudo apt install cryptsetup
add a comment |
The output of your apt list cryptsetup -a
shows
Listing... Done
cryptsetup/bionic-updates 2:2.0.2-1ubuntu1.1 amd64
cryptsetup/bionic 2:2.0.2-1ubuntu1 amd64
which means the cryptsetup
tools are not installed. If they were,
it would rather look like
Listing... Done
cryptsetup/bionic-updates,now 2:2.0.2-1ubuntu1.1 amd64 [installed]
cryptsetup/bionic 2:2.0.2-1ubuntu1 amd64
Note the [installed]
indicator after the first line. Just install them
and you should be fine:
sudo apt install cryptsetup
The output of your apt list cryptsetup -a
shows
Listing... Done
cryptsetup/bionic-updates 2:2.0.2-1ubuntu1.1 amd64
cryptsetup/bionic 2:2.0.2-1ubuntu1 amd64
which means the cryptsetup
tools are not installed. If they were,
it would rather look like
Listing... Done
cryptsetup/bionic-updates,now 2:2.0.2-1ubuntu1.1 amd64 [installed]
cryptsetup/bionic 2:2.0.2-1ubuntu1 amd64
Note the [installed]
indicator after the first line. Just install them
and you should be fine:
sudo apt install cryptsetup
answered Dec 29 '18 at 13:26
PerlDuck
5,39411231
5,39411231
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1102888%2fhow-to-repair-encryption-failure%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
I once had a simliar question about my external, encrypted USB backup HDD (just like your case) and the answer basically was "as long as
sudo apt install cryptsetup
is done, it will work". I recently did a fresh install of 18.04.1 and it worked out of the box. Do you also have that "split screen" in the disks tool? What doesapt list cryptsetup
say? Is it[installed]
?– PerlDuck
Dec 27 '18 at 18:35
Glad to hear your issue is solved now. Only few things are more frustrating than a proper backup that cannot be accessed. Please read What should I do when someone answers my question?. But no need to hurry, though. Just take your time.
– PerlDuck
Dec 29 '18 at 19:01