# Joe's Software Emporium came with your Lenovo

> If your 2016-19 IdeaPad, Legion or Yoga trusts a certificate called Joe's Software Emporium, you didn't put it there. Lenovo did, and a key reset brings it back.

6 December 2026 · #security #linux #firmware #lenovo · https://blog.peng.ly/joes-software-emporium/

In August, someone [asked on Super User](https://superuser.com/questions/1940041/mysterious-joes-software-emporium-certificate-on-lenovo-ideapad-320-15ikb) about a certificate called "Joe's Software Emporium" that their firmware manager app had found on their IdeaPad 320. One of the BIOS's Secure Boot options got rid of it, they said, and the other brought it back. The top answer said that they, or a previous owner, must have made it by following one of Microsoft's tutorials. A commenter said the BIOS's Restore Factory Keys option would wipe it, and that if it kept coming back, their Linux distro was to blame.

The asker's reply:

> im on latest bios. reset keys and still there

They were right, and nobody took them at their word. Joe's came from Lenovo. It's in the factory Secure Boot keys of about half of Lenovo's popular 2016-19 consumer laptops, and resetting the keys is the thing that puts it back.

## Who's Joe?

Nobody. "Joe's Software Emporium" is the name Microsoft's old [`makecert`](https://learn.microsoft.com/en-us/windows-hardware/drivers/devtest/makecert) tool gives a certificate when you don't give it one, and "Root Agency" is the pretend authority it signs with when you don't name one of those either. It's been doing that for a long time: Garfinkel and Spafford's _Web Security, Privacy & Commerce_ was already explaining Joe's in 2001. This one was made on 21 July 2016, and it's valid until the end of 2039.

Secure Boot keeps a list called `db` of certificates the firmware trusts, and anything signed by one of them gets to run before your OS does. On a normal PC that's Microsoft's (one for Windows, one for everything else, like the shim most Linux distros boot through) and maybe one of the laptop maker's own. On these Lenovos, Joe's is in there too, so the laptop will boot whatever is signed with Joe's key.

## It's in Lenovo's own BIOS files

Lenovo still hosts the BIOS updates for these laptops, and you can unpack them without running anything. In the IdeaPad 320's last one, 4WCN47WW from June 2020, the Secure Boot keys sit in exactly one place: a block that the firmware (it's Insyde's) calls the factory copy. Here's what's in it:

```text title="4WCN47WW, the factory copy"
PK    Ideapad Products
KEK   Microsoft KEK CA 2011
db    Microsoft Windows PCA 2011
      Microsoft UEFI CA 2011
      4W320-14IKB
      Joe's-Software-Emporium
dbx   77 revoked hashes
```

Joe's is the fourth entry in `db`, and the Super User asker's `mokutil --db` showed it as `[key 4]`, with the same fingerprint. Every entry in the list also carries an ID for whoever added it, and Joe's has Lenovo's, the same one as Lenovo's own "Ideapad Products" key. Microsoft's have Microsoft's. My guess, and it's only a guess, is that somebody signed a test build with it in 2016 and it never came out of the list.

The BIOS setup screen describes Restore Factory Keys as "Restore all secure boot database to factory default include PK, KEK, db and dbx". This block is the only factory default in the file, so that's what the keys get restored from, Joe's included. The other option, Reset to Setup Mode, clears the platform key and switches Secure Boot off, which is why Joe's vanished with one option and came back with the other.

## About half of them have it

To see how far it went, I took the 50 Lenovo consumer laptop families from 2016-19 that show up most on [linux-hardware.org](https://linux-hardware.org), where Linux users upload their hardware details, and unpacked each one's latest BIOS.

![Popular 2016-19 Lenovo consumer laptops](https://blog.peng.ly/joes-software-emporium/charts/1.png)

**Popular 2016-19 Lenovo consumer laptops** ([the data](https://raw.githubusercontent.com/NotAFlightRisk/blog/main/posts/joes-software-emporium/families.json))

_One square per laptop family, by its latest BIOS on Lenovo's site, checked 5 and 6 December._

They aren't the obscure ones either: about two in three of those uploads are from a laptop with Joe's. Every copy has the same fingerprint. These are the ones with it:

- IdeaPad 310-15IKB and 510-15IKB, 320, 520-15IKB, 330 (the Intel ones), 530S-14IKB and 720S-13
- IdeaPad S145 and L340, including the L340 Gaming
- Legion Y520, Y530, Y540, Y545 and Y720
- Yoga S740-14IIL

Most laptops from 2020 on don't have it. Of the 21 popular 2020-21 families I could read, only one, the IdeaPad 3 15IML05, still does in its latest BIOS. But it went in almost as soon as the certificate existed, and it hung on for years:


- **21 July 2016** Someone runs `makecert` and gets Joe's.
- **10 August 2016** The IdeaPad 510-15IKB's BIOS has it. That's the oldest version Lenovo still hosts for that laptop.
- **June 2020** The IdeaPad 320's last BIOS still has it.
- **November 2022** An update for 2020's IdeaPad Gaming 3 drops it, and the changelog says "Optimize code to enhance product security".
- **June 2023** An IdeaPad 3 15IML05 update still ships it, with the same line in its changelog.


## Linux won't load it

You might've met Joe's without seeing the name. When Linux boots, it copies the certificates in `db` into a keyring of its own, and on these laptops it logs an error that ends in -65:

```text
integrity: Problem loading X.509 certificate -65
```

`makecert` signed Joe's using an old identifier for SHA-1 with RSA (`1.3.14.3.2.29`), which the kernel's certificate parser doesn't know, so it gives up with error 65, "package not installed". I fed Joe's to the kernel on my own machine and got the same -65. An IdeaPad Gaming 3 owner asked on the [CachyOS forum](https://discuss.cachyos.org/t/persistent-x-509-65-and-acpi-errors-on-lenovo-ideapad-gaming-3-15imh05/34624) in August whether that error and Joe's were a known Lenovo thing. Nobody's answered.

Linux has been asked about this before. Acer laptops hit the same -65 with two self-signed certificates of their own that use the same old identifier, and in 2019 a SUSE developer [posted a kernel patch](https://lkml.iu.edu/hypermail/linux/kernel/1905.0/00754.html) to print something more helpful. It was reviewed, and never merged, so seven years on, -65 is still all you get.

## Who's got Joe's key?

Probably nobody you need to worry about. Signing something with Joe's needs its private key, which `makecert` left on whichever machine made the certificate in July 2016. I couldn't find that key on GitHub or anywhere else on the web. That puts it a long way short of [PKfail](https://www.binarly.io/blog/pkfail-untrusted-platform-keys-undermine-secure-boot-on-uefi-ecosystem), where a test key's private half had leaked. What you've got here is a key that nobody can account for, and your laptop will boot whatever it signs.

To check yours:

```sh
mokutil --db | grep Emporium
```

Restore Factory Keys will always bring it back, so the only way to get rid of it is your own keys. That's what [sbctl](https://github.com/Foxboron/sbctl) is for: put the firmware in Setup Mode, and `sbctl enroll-keys -m` writes a new `db` with your key and Microsoft's in it, and nothing of Joe's. It drops Lenovo's own model key (the `4W320-14IKB` one) as well, and I couldn't tell you what that one signs.

After a Legion Y545 owner [reported it](https://github.com/fwupd/fwupd/issues/11016) in September, fwupd marked the name as insecure, and once that change is in a release, its "UEFI db" security check fails on any laptop that has it. The fix it suggests is to "Remove the test key using the interactive BIOS setup screen". On these laptops, that's the screen that keeps putting it back.
