torrust-tracker icon indicating copy to clipboard operation
torrust-tracker copied to clipboard

Crypto: Ephemeral Instance Random Seeds with Keepers

Open da2ce7 opened this issue 3 years ago • 1 comments

This module makes use of lazy_static, to initialize an instance ephemeral random seed for the server to use on startup.

This seed can be used to derive other instance ephemeral keys. The seed is forgotten upon shutdown of the server.

To help with testing, a DefaultSeed helping structure that provides a zeroed seed when testing, and the random seed when not testing.

da2ce7 avatar Sep 12 '22 23:09 da2ce7

Rebased after merge of #81

da2ce7 avatar Sep 14 '22 11:09 da2ce7

ACK d09c58f93aa6d3cc0d15bfcb20fd08b6f4abbd79

da2ce7 avatar Oct 17 '22 14:10 da2ce7

ACK 873293a6f871ba6102d75df2379471b43bcf0096

da2ce7 avatar Oct 18 '22 12:10 da2ce7