Ask HN: Is there a portable encryption file format?

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

Our great sponsors
  • SonarLint - Clean code begins in your IDE with SonarLint
  • Scout APM - Less time debugging, more time building
  • SaaSHub - Software Alternatives and Reviews
  • age

    A simple, modern and secure encryption tool (and Go library) with small explicit keys, no config options, and UNIX-style composability.

    > Do C (or something where the mapping to C is known), and lots of languages have FFI libs where wrapping that is fairly trivial

    That is an interesting idea, yet still a lot of work, sadly. I was hoping somebody had done the legwork already. I looked at Tink [1] and age [2] based on my co-worker's recommendation, but they all seem to have limited implementations in other languages.

    [1] https://github.com/google/tink

    [2] https://github.com/FiloSottile/age

  • go

    The Go programming language

    Of course I can design my own thing (and I have), but then I have to make my own libraries for all languages that I want to offer end-to-end encryption for.

    [1] https://datatracker.ietf.org/doc/html/rfc4880

    [2] https://github.com/golang/go/issues/44226

    [3] https://github.com/binwiederhier/ntfy

  • SonarLint

    Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.

  • ntfy

    Send push notifications to your phone or desktop using PUT/POST (by binwiederhier)

    Of course I can design my own thing (and I have), but then I have to make my own libraries for all languages that I want to offer end-to-end encryption for.

    [1] https://datatracker.ietf.org/doc/html/rfc4880

    [2] https://github.com/golang/go/issues/44226

    [3] https://github.com/binwiederhier/ntfy

  • Tink

    Tink is a multi-language, cross-platform, open source library that provides cryptographic APIs that are secure, easy to use correctly, and hard(er) to misuse.

    > Do C (or something where the mapping to C is known), and lots of languages have FFI libs where wrapping that is fairly trivial

    That is an interesting idea, yet still a lot of work, sadly. I was hoping somebody had done the legwork already. I looked at Tink [1] and age [2] based on my co-worker's recommendation, but they all seem to have limited implementations in other languages.

    [1] https://github.com/google/tink

    [2] https://github.com/FiloSottile/age

  • cryptr

    A simple shell utility for encrypting and decrypting files using OpenSSL.

    It doesn't quite fit your description, but I've been using the following single-file shell script called cryptr.

    > A simple shell utility for encrypting and decrypting files using OpenSSL.

    https://github.com/nodesocket/cryptr

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