Skip to content

Commit

Permalink
Support ACME parameters in init command. (#541)
Browse files Browse the repository at this point in the history
* Support ACME parameters in init command.

* Update dependencies.

* Bump server patch version.

* Update gitignores.

* Remove obsolete direct dependency on tower.
  • Loading branch information
tmpfs authored Aug 16, 2024
1 parent b2c63bd commit 28c11e0
Show file tree
Hide file tree
Showing 6 changed files with 127 additions and 53 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ target
*.bundle
/*.csv
/*.svg
server.lock
*.rustfmt
.homebrew
tests/server_public_key.txt
Expand Down
104 changes: 65 additions & 39 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions crates/server/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sos-server"
version = "0.14.10"
version = "0.14.11"
edition = "2021"
description = "Server for the Save Our Secrets sync protocol."
homepage = "https://saveoursecrets.com"
Expand Down Expand Up @@ -45,7 +45,6 @@ rustls.workspace = true
axum = { version = "0.7", features = ["ws", "original-uri"] }
axum-extra = {version = "0.9", features = ["typed-header"] }
axum-macros = { version = "0.4" }
tower = { version = "0.4" }
tower-http = { version = "0.5", features = ["cors", "trace"] }
tokio-stream = { version = "0.1" }
utoipa = { version = "4", features = ["uuid"] }
Expand Down
2 changes: 1 addition & 1 deletion crates/server/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ impl Default for NetworkConfig {
pub enum SslConfig {
/// Default HTTP transport.
#[default]
Http,
None,
/// Configuration for TLS certificate and private key.
Tls(TlsConfig),
/// Configuration for Let's Encrypt ACME certificates.
Expand Down
Loading

0 comments on commit 28c11e0

Please sign in to comment.