Answer the question
In order to leave comments, you need to log in
How to securely store a private RSA key so that it can be used in a Java application?
It is necessary to have some kind of key storage protected (for example, by a system password), but in order to be able to encrypt something with this key.
Perhaps I misunderstand the principles of encryption.
In general, it is necessary to generate a private / public key pair during the installation of the application and, when sending data to the server, sign them with a private key. At the same time, you need to somehow protect against data forgery by stealing a private key: we are talking about payment terminal software, where they can simply steal the entire terminal along with the hard drive.
PS For example, so that only a signed application can read this key from the java keystore (the certificate is preloaded into the keystore).
Answer the question
In order to leave comments, you need to log in
so that only a signed application can read this key from the java keystore (the certificate is preloaded in the keystore)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question