str4d / rage

A simple, secure and modern file encryption tool (and Rust library) with small explicit keys, no config options, and UNIX-style composability.
https://age-encryption.org/v1
Apache License 2.0
2.45k stars 96 forks source link

Threshold encryption #323

Closed selfuryon closed 2 years ago

selfuryon commented 2 years ago

This is a feature request. Currently, rage can encrypt the same file key (which used as the key to encrypt the file) with several recipients. How about add to possibility to encrypt/decrypt with threshold cryptography: for example, use Shamir for dividing file key between several recipients, so we need several recipients to decrypt a box?

str4d commented 2 years ago

This could definitely be implemented as an age plugin!

ghost commented 2 years ago

Ok, I'll try to do that