You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
TLS certificate and key should be able to come from strings/bytes #490
At present, dropshot::ConfigTls is relatively inflexible: it requires the caller to provide a PathBuf for both the certificate and private key.
This requires the file to be something that the process can open at arbitrary points during regular operation, rather than prior to dropping privileges required to open files. It also means the key must be stored in a plain file on disk, accessible to the user account in which the server runs, which is also not ideal.
At a minimum, we should be able to take both of these inputs as a String or a Vec<u8>, in addition to being willing to load them from disk as we presently do.
Activity
Allow TLS certificate and key to come from bytes
[tls] Allow TLS certificate and key to come from bytes (#504)