Skip to content
This repository was archived by the owner on Mar 3, 2020. It is now read-only.
This repository was archived by the owner on Mar 3, 2020. It is now read-only.

What do I need to know in order to encrypt elsewhere for Conceal to decrypt? #192

@huttarl

Description

@huttarl

This is somewhat related to issue #49.
I realize it's not the use case for which Conceal was intended. But it is a useful one.

Suppose I want to store a bunch of encrypted files on SD cards, distribute those SD cards, and have an app that can decrypt the data later. I can't use Conceal to encrypt the files because it's written for Android, but the task of encrypting all those files would be too slow to do on Android.

What does my encryption process need to know in order to encrypt files on a server in a way that Conceal could later decrypt? (I'm planning to implement a custom keychain to return the right key in my Android app.) I know the encryption process should use AES-GCM and the same key as my custom keychain returns. Is that enough to ensure that the encrypted files will be decryptable by Conceal?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions