Skip to content

Quick paste-bin like service with anonymous encryption using a legible shared secret key.

License

Notifications You must be signed in to change notification settings

manuella/HashBucket

Folders and files

NameName
Last commit message
Last commit date

Latest commit

3ce0099 · May 19, 2019

History

10 Commits
May 4, 2019
Apr 27, 2019
Apr 27, 2019
Apr 21, 2019
May 4, 2019
May 4, 2019
Apr 21, 2019
Apr 27, 2019
Apr 27, 2019
Apr 21, 2019
Apr 21, 2019
May 19, 2019
May 4, 2019
Apr 21, 2019
Apr 27, 2019

Repository files navigation

HashBucket

A dummy CRUD service for an experimental, totally inadvisable, 'roll-your-own' encryption paradigm for a 0-trust environment. (find that here) https://github.com/manuella/HashBucketFrontend

WARNING: This is experimental, I am not a security expert, and you SHOULD NOT expect this algorithm to be secure. This application is a personal experiment and a foray into security. I expect and welcome any exploits/bugs/defects that you may find here.

Quick paste-bin like service with anonymous encryption using a legible shared secret key. The idea is that the whatever service is storing the message cannot decrypt the message.

Message: the significant information to be transfered securely. Password: a shared secret between two users Hash: Some hash of the password which is unique per password. EncryptedMessage: Message encrypted with Password as a private key

Client: Assumed to be secure / trusted Storage: Completely untrusted

Store
                             Client                                         Storage (exposed)
/----------------------------------------------------------------------\ /--------------------\
------------------------------------------------+--Encrypted Key Value-+-----------------------+
| message  \                                    |                      |                       |
|           encrypt message with password as => | EncryptedMessage     |                       |
|           /                     private key   |                      | Store EncryptedMessage|
| password <                                    |                      |   w/ HashKey as key   |
|           \ HASH  ==========================> | HashKey              |                       |
------------------------------------------------+----------------------+-----------------------+

Retrieve

            Client (Secure)                               Storage (exposed)
/--------------------------------\/---------------------------------------------\
+--Encrypted Key Value-----------+-----------------------------------------------+
|                                |                                               |
|                                |                                               |
| Password HASH   ============>  | HashKey => Fetch EncryptedMessage by HashKey  |
|                                |              in dictionary/db pattern         |
|                                |                      |                        |
+--------------------------------+----------------------v------------------------+
                                                        |
+--------------------------------+                      |
|                                |                      |
|                                |                     /
|     Decrypt Encrypted Value  <----------------------
|               with password    |
|                   |            |
|                   v            |
|                Message         |
+--------------------------------+

About

Quick paste-bin like service with anonymous encryption using a legible shared secret key.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published