File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ impl Monitor {
4949
5050 async fn refresh_known_keys ( & mut self ) -> Result < ( ) > {
5151 info ! ( "fetching known public keys from {}" , self . gateway_uri) ;
52- let todo = " Use RA-TLS" ;
52+ // TODO: Use RA-TLS
5353 let tls_no_check = true ;
5454 let rpc = GatewayClient :: new ( RaClient :: new ( self . gateway_uri . clone ( ) , tls_no_check) ?) ;
5555 let info = rpc. acme_info ( ) . await ?;
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ impl CaCert {
4848 let key = KeyPair :: from_pem ( & pem_key) . context ( "Failed to parse key" ) ?;
4949 let cert =
5050 CertificateParams :: from_ca_cert_pem ( & pem_cert) . context ( "Failed to parse cert" ) ?;
51- let todo = " load the cert from the file directly: blocked by https://github.com/rustls/rcgen/issues/274" ;
51+ // TODO: load the cert from the file directly, blocked by https://github.com/rustls/rcgen/issues/274
5252 let cert = cert. self_signed ( & key) . context ( "Failed to self-sign cert" ) ?;
5353 Ok ( Self {
5454 pem_cert,
You can’t perform that action at this time.
0 commit comments