View on GitHub

socialstuff-org.github.io

The SocialStuff documentation.

Crypto Storage Service

The crypto storage service takes care of securely storing all kind of information to the applications local storage.

// TODO extend description

Table of Contents

Directory structure

In the contact directory all information related to communication with contacts are stored. This includes the following details:

Version 0.1.0

Contacts
    Alice
        alice-public-key.txt
        conversation-key.txt
        properties.txt
        chat.txt
        media-files
            file1
            file2
            file3
    Bob
        bob-public-key.txt
        conversation-key.txt
        properties.txt
        chat.txt
        media-files
    Charly
        charly-public-key.txt
        conversation-key.txt
        properties.txt
        chat.txt
        media-files

Version 0.2.0

// NOTE: maybe add padding on usernames to further eliminate relevant metadata

.trale
    45ee23 (own username hash)
        master.key
        chats
            45237 (chat partner username hash)
                chat.properties
                    conversation key
                    rsa public key
                    custom display name
                chat.log
                [profile image]
        media
            ff56a3
            67hd2e
        contacts (chat partner username listing)
        rsa private key
        rsa public key