Dansoftowner / Boomega

A modern book explorer/catalog application written in Kotlin and Java.
GNU General Public License v3.0
73 stars 5 forks source link

Data protection mechanism for storing passwords locally #164

Open Dansoftowner opened 2 years ago

Dansoftowner commented 2 years ago

Storing the passwords of auto-login databases plainly in the configuration file is dangerous.

On Windows, there is something called as DPAPI (Data Protection API) that can help in this situation. On other systems there should be alternatives too.

The question is, how to use the DPAPI in java. Several wrappers available like:

Some help in this topic: