What data are stored in TPM and is it safe to erase them?











up vote
0
down vote

favorite












I frequently use fwupdmgr (under Fedora 28) to upgrade the firmware of my DELL laptop and it works well. However I recently got the following error:



$ fwupdmgr get-updates
ignoring Latitude 7480 TPM 2.0 [54e80140e7d8cb6211a54dae2682399e653c0884] as not updatable


fwupdmgr is able to install other updates though.



AFAIU, TPM can't be updated if some information have been stored in it. There is an option in the BIOS to clear the data stored in TPM but I don't want to loose data.



I was wondering what are those data and if clearing them would allow me to upgrade.



In particular, I used the Machine Own Key infrastructure to be able to sign kernel modules (virtualbox). I guess those keys are stored in the TPM. If I erase the TPM data can I reinstall the same key with mokutil ?



As an aside, I discovered the problem because for quite some time, I have an error message when booting the laptop:



kernel: tpm tpm0: A TPM error (2314) occurred attempting the self test


I was wondering if those 2 errors are linked (and so if updating the firmware would suppress the error).










share|improve this question






















  • You may have run into a kernel bug: lore.kernel.org/patchwork/patch/895585 The two issues may well be related.
    – mnistic
    Nov 9 at 2:51












  • @mnistic: thanks for your answer. I'm not smart enough to understand the link you sent but do you know if this patch in merged into Fedora or vanilla kernel ?
    – Mathieu Dubois
    Nov 9 at 15:31










  • Sorry, no idea. That's probably a question for their forums / mailing lists.
    – mnistic
    Nov 9 at 16:42










  • I will ask them. Do you have any idea on the TPM data ?
    – Mathieu Dubois
    Nov 9 at 17:01










  • The TPM can contain keys, system measurements and protected sensitive data. So it all depends on your system setup. As far as mokutil, if by mokutil you mean this thing: github.com/lcp/mokutil it doesn't seem to be using the TPM for anything. Fedora doesn't depend on it to boot (obviously) and I don't know if Dell puts anything in it.
    – mnistic
    Nov 9 at 17:18















up vote
0
down vote

favorite












I frequently use fwupdmgr (under Fedora 28) to upgrade the firmware of my DELL laptop and it works well. However I recently got the following error:



$ fwupdmgr get-updates
ignoring Latitude 7480 TPM 2.0 [54e80140e7d8cb6211a54dae2682399e653c0884] as not updatable


fwupdmgr is able to install other updates though.



AFAIU, TPM can't be updated if some information have been stored in it. There is an option in the BIOS to clear the data stored in TPM but I don't want to loose data.



I was wondering what are those data and if clearing them would allow me to upgrade.



In particular, I used the Machine Own Key infrastructure to be able to sign kernel modules (virtualbox). I guess those keys are stored in the TPM. If I erase the TPM data can I reinstall the same key with mokutil ?



As an aside, I discovered the problem because for quite some time, I have an error message when booting the laptop:



kernel: tpm tpm0: A TPM error (2314) occurred attempting the self test


I was wondering if those 2 errors are linked (and so if updating the firmware would suppress the error).










share|improve this question






















  • You may have run into a kernel bug: lore.kernel.org/patchwork/patch/895585 The two issues may well be related.
    – mnistic
    Nov 9 at 2:51












  • @mnistic: thanks for your answer. I'm not smart enough to understand the link you sent but do you know if this patch in merged into Fedora or vanilla kernel ?
    – Mathieu Dubois
    Nov 9 at 15:31










  • Sorry, no idea. That's probably a question for their forums / mailing lists.
    – mnistic
    Nov 9 at 16:42










  • I will ask them. Do you have any idea on the TPM data ?
    – Mathieu Dubois
    Nov 9 at 17:01










  • The TPM can contain keys, system measurements and protected sensitive data. So it all depends on your system setup. As far as mokutil, if by mokutil you mean this thing: github.com/lcp/mokutil it doesn't seem to be using the TPM for anything. Fedora doesn't depend on it to boot (obviously) and I don't know if Dell puts anything in it.
    – mnistic
    Nov 9 at 17:18













up vote
0
down vote

favorite









up vote
0
down vote

favorite











I frequently use fwupdmgr (under Fedora 28) to upgrade the firmware of my DELL laptop and it works well. However I recently got the following error:



$ fwupdmgr get-updates
ignoring Latitude 7480 TPM 2.0 [54e80140e7d8cb6211a54dae2682399e653c0884] as not updatable


fwupdmgr is able to install other updates though.



AFAIU, TPM can't be updated if some information have been stored in it. There is an option in the BIOS to clear the data stored in TPM but I don't want to loose data.



I was wondering what are those data and if clearing them would allow me to upgrade.



In particular, I used the Machine Own Key infrastructure to be able to sign kernel modules (virtualbox). I guess those keys are stored in the TPM. If I erase the TPM data can I reinstall the same key with mokutil ?



As an aside, I discovered the problem because for quite some time, I have an error message when booting the laptop:



kernel: tpm tpm0: A TPM error (2314) occurred attempting the self test


I was wondering if those 2 errors are linked (and so if updating the firmware would suppress the error).










share|improve this question













I frequently use fwupdmgr (under Fedora 28) to upgrade the firmware of my DELL laptop and it works well. However I recently got the following error:



$ fwupdmgr get-updates
ignoring Latitude 7480 TPM 2.0 [54e80140e7d8cb6211a54dae2682399e653c0884] as not updatable


fwupdmgr is able to install other updates though.



AFAIU, TPM can't be updated if some information have been stored in it. There is an option in the BIOS to clear the data stored in TPM but I don't want to loose data.



I was wondering what are those data and if clearing them would allow me to upgrade.



In particular, I used the Machine Own Key infrastructure to be able to sign kernel modules (virtualbox). I guess those keys are stored in the TPM. If I erase the TPM data can I reinstall the same key with mokutil ?



As an aside, I discovered the problem because for quite some time, I have an error message when booting the laptop:



kernel: tpm tpm0: A TPM error (2314) occurred attempting the self test


I was wondering if those 2 errors are linked (and so if updating the firmware would suppress the error).







firmware tpm






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 8 at 18:40









Mathieu Dubois

382720




382720












  • You may have run into a kernel bug: lore.kernel.org/patchwork/patch/895585 The two issues may well be related.
    – mnistic
    Nov 9 at 2:51












  • @mnistic: thanks for your answer. I'm not smart enough to understand the link you sent but do you know if this patch in merged into Fedora or vanilla kernel ?
    – Mathieu Dubois
    Nov 9 at 15:31










  • Sorry, no idea. That's probably a question for their forums / mailing lists.
    – mnistic
    Nov 9 at 16:42










  • I will ask them. Do you have any idea on the TPM data ?
    – Mathieu Dubois
    Nov 9 at 17:01










  • The TPM can contain keys, system measurements and protected sensitive data. So it all depends on your system setup. As far as mokutil, if by mokutil you mean this thing: github.com/lcp/mokutil it doesn't seem to be using the TPM for anything. Fedora doesn't depend on it to boot (obviously) and I don't know if Dell puts anything in it.
    – mnistic
    Nov 9 at 17:18


















  • You may have run into a kernel bug: lore.kernel.org/patchwork/patch/895585 The two issues may well be related.
    – mnistic
    Nov 9 at 2:51












  • @mnistic: thanks for your answer. I'm not smart enough to understand the link you sent but do you know if this patch in merged into Fedora or vanilla kernel ?
    – Mathieu Dubois
    Nov 9 at 15:31










  • Sorry, no idea. That's probably a question for their forums / mailing lists.
    – mnistic
    Nov 9 at 16:42










  • I will ask them. Do you have any idea on the TPM data ?
    – Mathieu Dubois
    Nov 9 at 17:01










  • The TPM can contain keys, system measurements and protected sensitive data. So it all depends on your system setup. As far as mokutil, if by mokutil you mean this thing: github.com/lcp/mokutil it doesn't seem to be using the TPM for anything. Fedora doesn't depend on it to boot (obviously) and I don't know if Dell puts anything in it.
    – mnistic
    Nov 9 at 17:18
















You may have run into a kernel bug: lore.kernel.org/patchwork/patch/895585 The two issues may well be related.
– mnistic
Nov 9 at 2:51






You may have run into a kernel bug: lore.kernel.org/patchwork/patch/895585 The two issues may well be related.
– mnistic
Nov 9 at 2:51














@mnistic: thanks for your answer. I'm not smart enough to understand the link you sent but do you know if this patch in merged into Fedora or vanilla kernel ?
– Mathieu Dubois
Nov 9 at 15:31




@mnistic: thanks for your answer. I'm not smart enough to understand the link you sent but do you know if this patch in merged into Fedora or vanilla kernel ?
– Mathieu Dubois
Nov 9 at 15:31












Sorry, no idea. That's probably a question for their forums / mailing lists.
– mnistic
Nov 9 at 16:42




Sorry, no idea. That's probably a question for their forums / mailing lists.
– mnistic
Nov 9 at 16:42












I will ask them. Do you have any idea on the TPM data ?
– Mathieu Dubois
Nov 9 at 17:01




I will ask them. Do you have any idea on the TPM data ?
– Mathieu Dubois
Nov 9 at 17:01












The TPM can contain keys, system measurements and protected sensitive data. So it all depends on your system setup. As far as mokutil, if by mokutil you mean this thing: github.com/lcp/mokutil it doesn't seem to be using the TPM for anything. Fedora doesn't depend on it to boot (obviously) and I don't know if Dell puts anything in it.
– mnistic
Nov 9 at 17:18




The TPM can contain keys, system measurements and protected sensitive data. So it all depends on your system setup. As far as mokutil, if by mokutil you mean this thing: github.com/lcp/mokutil it doesn't seem to be using the TPM for anything. Fedora doesn't depend on it to boot (obviously) and I don't know if Dell puts anything in it.
– mnistic
Nov 9 at 17:18

















active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
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',
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
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53214176%2fwhat-data-are-stored-in-tpm-and-is-it-safe-to-erase-them%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • 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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53214176%2fwhat-data-are-stored-in-tpm-and-is-it-safe-to-erase-them%23new-answer', 'question_page');
}
);

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







這個網誌中的熱門文章

Xamarin.form Move up view when keyboard appear

Post-Redirect-Get with Spring WebFlux and Thymeleaf

Anylogic : not able to use stopDelay()