3 ms·
I don't quite understand the details of file sharing (https://www.kryptor.co.uk/tutorial#using-a-private-and-public-key-file-sharing https://www.kryptor.co.uk/t
by sigjuice 5y ago
I don't quite understand the details of file sharing (https://www.kryptor.co.uk/tutorial#using-a-private-and-public-key-file-sharing https://www.kryptor.co.uk/tutorial#using-a-private-and-publi...)
If I want to send an encrypted file to someone, don't I just need the recipient's public key? What is the role of my private key here? Is my private key used for adding my signature?
- samuel-lucas6 5y agoYes, you need the recipient's public key, and they need your public key. Your private key is used to perform a key exchange using X25519 (https://www.kryptor.co.uk/technical-details#private-and-public-keys https://www.kryptor.co.uk/technical-details#private-and-publ...). Unlike age, this key exchange is authenticated, meaning you can know who sent you the file. Unfortunately, due to that and the fact that the file format is fixed rather than variable in length, Kryptor currently only supports specifying one recipient at a time. Implementing multiple recipient support is a nice idea, but it's quite tricky to do and would require creating different files for different people.