Is there a secure way to embed a private key in compiled code that is released in compiled form to the general public?

It occurred to me that if I could compile a private key in source code, I could prove that log information came exclusively from the application for a given version.
I could do this by releasing the public key and by making sure that for e… Continue reading Is there a secure way to embed a private key in compiled code that is released in compiled form to the general public?

Strategy for storing private keys used in an embedded device

I am developing an embedded device using a bootloader. This means that the device will store in its flash an encryption key for decrypting update packages and an ECC public key for verifying update signatures. For this, the process needs t… Continue reading Strategy for storing private keys used in an embedded device

Passing sensitive user data I must not ever see between devices using an identity provider

I have a Progressive Web Application (PWA) with a lot of users, each user creates a public-private keypair and wants to use that across devices simply by logging in using some form of auth, for example, Google SSO, etc. If there was some s… Continue reading Passing sensitive user data I must not ever see between devices using an identity provider

How could one use multi-factor authentication to derive a static secret key?

Scenario:
The setup is that each user has a randomly generated key A used for encrypting data stored on the server and a password-derived key B used to store A on the server without the server getting access to A. So the server stores the … Continue reading How could one use multi-factor authentication to derive a static secret key?