Krptn: User Auth and Encryption of data at rest, derived from users’ credentials

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • krypton

    Data encryption at rest and IAM for Python (by krptn)

  • Hello, all!

    Encryption and user authentication are crucial to cybersecurity.

    Encryption can be implemented at various levels. I believe that handling encryption at the application level is the most secure since it decreases the attack surface. For example, the SQL server doesn’t get to see the plaintext.

    Krptn is a piece of software I’m currently building which could be used as a user authentication service, which also handles encryption (at the application level) of the user’s associated data (e.g.: the users’ phone number).

    (Krptn only has a Python API right now.)

    It would run in the same server instance as your Python code, so no need to host anything new (decreased complexity) - just install the Python module and call the APIs.

    For additional security, I designed the system to derive the encryption keys from the users’ credentials. This prevents an attacker who gains access to the database from being able to decrypt all the data since the encryption keys aren’t stored anywhere. Additionally, each user gets an asymmetric keypair. This enables users to share specific pieces of information with each other.

    I know that, for many projects, this level of encryption is not required to secure their system and hence not everyone would benefit from using this. But I hope that for the people who do wish to have such security, this project will help.

    It would be much appreciated if you would try this out. Please let me know what you think of this! Also please provide some feedback if you have any!

    Here is an example Django integration: https://github.com/krptn/djangoExample

    Here is an example Flask integration: https://github.com/krptn/flaskExample

    GitHub repo: https://github.com/krptn/krypton

  • djangoExample

    Example Krptn Integration with Django

  • Hello, all!

    Encryption and user authentication are crucial to cybersecurity.

    Encryption can be implemented at various levels. I believe that handling encryption at the application level is the most secure since it decreases the attack surface. For example, the SQL server doesn’t get to see the plaintext.

    Krptn is a piece of software I’m currently building which could be used as a user authentication service, which also handles encryption (at the application level) of the user’s associated data (e.g.: the users’ phone number).

    (Krptn only has a Python API right now.)

    It would run in the same server instance as your Python code, so no need to host anything new (decreased complexity) - just install the Python module and call the APIs.

    For additional security, I designed the system to derive the encryption keys from the users’ credentials. This prevents an attacker who gains access to the database from being able to decrypt all the data since the encryption keys aren’t stored anywhere. Additionally, each user gets an asymmetric keypair. This enables users to share specific pieces of information with each other.

    I know that, for many projects, this level of encryption is not required to secure their system and hence not everyone would benefit from using this. But I hope that for the people who do wish to have such security, this project will help.

    It would be much appreciated if you would try this out. Please let me know what you think of this! Also please provide some feedback if you have any!

    Here is an example Django integration: https://github.com/krptn/djangoExample

    Here is an example Flask integration: https://github.com/krptn/flaskExample

    GitHub repo: https://github.com/krptn/krypton

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • flaskExample

    Example Krptn Integration with Django

  • Hello, all!

    Encryption and user authentication are crucial to cybersecurity.

    Encryption can be implemented at various levels. I believe that handling encryption at the application level is the most secure since it decreases the attack surface. For example, the SQL server doesn’t get to see the plaintext.

    Krptn is a piece of software I’m currently building which could be used as a user authentication service, which also handles encryption (at the application level) of the user’s associated data (e.g.: the users’ phone number).

    (Krptn only has a Python API right now.)

    It would run in the same server instance as your Python code, so no need to host anything new (decreased complexity) - just install the Python module and call the APIs.

    For additional security, I designed the system to derive the encryption keys from the users’ credentials. This prevents an attacker who gains access to the database from being able to decrypt all the data since the encryption keys aren’t stored anywhere. Additionally, each user gets an asymmetric keypair. This enables users to share specific pieces of information with each other.

    I know that, for many projects, this level of encryption is not required to secure their system and hence not everyone would benefit from using this. But I hope that for the people who do wish to have such security, this project will help.

    It would be much appreciated if you would try this out. Please let me know what you think of this! Also please provide some feedback if you have any!

    Here is an example Django integration: https://github.com/krptn/djangoExample

    Here is an example Flask integration: https://github.com/krptn/flaskExample

    GitHub repo: https://github.com/krptn/krypton

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Zero Knowledge Encryption for Python: Krptn

    1 project | /r/Python | 5 Dec 2022
  • Why use OpenID Connect instead of plain OAuth2?

    1 project | news.ycombinator.com | 27 Jun 2023
  • Passkeys: The Beginning of the End of the Password

    3 projects | news.ycombinator.com | 3 May 2023
  • Alt to Ngrok, Written in Rust

    1 project | news.ycombinator.com | 6 Mar 2024
  • How we built a Swift app that uses Rust

    1 project | dev.to | 28 Dec 2023