Visitar URL original
Official Docker container on Docker Hub · Issue #358 · sqlcipher/sqlcipher · GitHub
Skip to content

Official Docker container on Docker Hub #358

Open

Description

@alexanderadam

Expected Behavior

Having an official, properly versioned, up-to-date Docker image.

Actual Behavior

There are only some inoffical outdated images.

Steps to Reproduce

Go to hub.docker.com and search around.

SQLCipher version: all of them

Activity

  1. sjlombardo commented on Mar 11, 2020

    @sjlombardo
    Member

    Hello @alexanderadam - thanks for getting in touch. Given that SQLCipher is typically used as an embedded database (i.e. within an encapsulating application) , could you share some of the use cases where where having a dedicated docker image would be beneficial? I'm hoping that will help us frame the request, goals, etc.

  2. alexanderadam commented on Mar 12, 2020

    @alexanderadam
    Author

    No, I have to thank you for your incredible work! 🙏

    In my case it's for making an unencrypted backup. But the folks who made the inofficial images obviously might have other use cases I guess.

    Some of them are on GitHub, too (i.e. kivsiak, pallocchi, mariotavor, yspreen) in case you want to ask them as well.

  3. sjlombardo commented on Mar 12, 2020

    @sjlombardo
    Member

    Thanks @alexanderadam, that is helpful. If I might ask, @kivsiak, @pallocchi, @mariotavor, @yspreen, can you share the scenarios surrounding SQLCipher with Docker?

  4. pallocchi commented on Mar 12, 2020

    @pallocchi

    Hi! In my case, I have a mobile app which is querying a read-only database, which is filled with static data. So every time the data changes in the repository, a pipeline is recreating and encrypting the database, that's why I needed to make the image. Also is useful for local dev, since is pretty much easier to encrypt and decrypt the database.

  5. yspreen commented on Mar 19, 2020

    @yspreen

    I didn't expect to get mentioned here! 😄
    I used it for a security analysis of the encryption. The container is used to run a highly parallelized decryption attempt of a single sql db. I basically wanted to test how long the password has to be to be secure.

    I'd say the Dockerfile that I came up with is really minimal and straight forward. Feel free to use it to build a continuous integration for this. I only put it on GitHub because of Docker Hub's easy integration for automatic free builds ✌️

    @sjlombardo @alexanderadam

  6. yspreen commented on Mar 19, 2020

    @yspreen

    (Also my image is not outdated, contrary to what it says in the issue 😇)

  7. 501st-alpha1 commented on Dec 29, 2020

    @501st-alpha1

    I was looking for this because I am trying to open a SQLCipher 4 database on Debian, which only has packages for SQLCipher 3. And I'd rather have another Docker image than try to compile something from source, haha.

    While it would be great to be able to docker pull an image, a partial solution would be to include a Dockerfile in this repo and let the user build it.

    @yspreen's image worked for me, with one slight modification that I just submitted a PR for.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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