Skip to content

Commit

Permalink
adding basic authID functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
kauncoder committed Mar 18, 2024
1 parent 7c8ee21 commit a067a77
Show file tree
Hide file tree
Showing 36 changed files with 1,103 additions and 1,644 deletions.
9 changes: 8 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,11 @@

.vscode

cargo-timing*.html
cargo-timing*.html

# remove secret files

*.pem
*.crt
*.key
*.json5
14 changes: 8 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,16 @@ description = "Zenoh: Zero Overhead Pub/sub, Store/Query and Compute."
# DEFAULT-FEATURES NOTE: Be careful with default-features and additivity!
# (https://github.com/rust-lang/cargo/issues/11329)
[workspace.dependencies]

rustls = { version = "0.21.5", features = ["dangerous_configuration"] }
aes = "0.8.2"
ahash = "0.8.7"
anyhow = { version = "1.0.69", default-features = false } # Default features are disabled due to usage in no_std crates
anyhow = { version = "1.0.69", default-features = false } # Default features are disabled due to usage in no_std crates
async-executor = "1.5.0"
async-global-executor = "2.3.1"
async-io = "1.13.0"
async-rustls = "0.4.0"
async-std = { version = "=1.12.0", default-features = false } # Default features are disabled due to some crates' requirements
async-std = { version = "=1.12.0", default-features = false } # Default features are disabled due to some crates' requirements
async-trait = "0.1.60"
base64 = "0.21.4"
bincode = "1.3.3"
Expand All @@ -93,10 +95,10 @@ event-listener = "4.0.0"
flume = "0.11"
form_urlencoded = "1.1.0"
futures = "0.3.25"
futures-util = { version = "0.3.25", default-features = false } # Default features are disabled due to some crates' requirements
futures-util = { version = "0.3.25", default-features = false } # Default features are disabled due to some crates' requirements
git-version = "0.3.5"
hashbrown = "0.14"
hex = { version = "0.4.3", default-features = false } # Default features are disabled due to usage in no_std crates
hex = { version = "0.4.3", default-features = false } # Default features are disabled due to usage in no_std crates
hmac = { version = "0.12.1", features = ["std"] }
home = "0.5.4"
http-types = "2.12.0"
Expand All @@ -120,14 +122,14 @@ pnet_datalink = "0.34"
proc-macro2 = "1.0.51"
quinn = "0.10.1"
quote = "1.0.23"
rand = { version = "0.8.5", default-features = false } # Default features are disabled due to usage in no_std crates
rand = { version = "0.8.5", default-features = false } # Default features are disabled due to usage in no_std crates
rand_chacha = "0.3.1"
rcgen = "0.11"
regex = "1.7.1"
ringbuffer-spsc = "0.1.9"
rsa = "0.9"
rustc_version = "0.4.0"
rustls = { version = "0.21.5", features = ["dangerous_configuration"] }
#rustls = "0.21.5"
rustls-native-certs = "0.7.0"
rustls-pemfile = "2.0.0"
rustls-webpki = "0.102.0"
Expand Down
21 changes: 21 additions & 0 deletions ca2.crt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
-----BEGIN CERTIFICATE-----
MIIDizCCAnOgAwIBAgIULpNcDIKDOM7YxmzXHSjXrlFZ6+kwDQYJKoZIhvcNAQEL
BQAwVTELMAkGA1UEBhMCRlIxCzAJBgNVBAgMAklGMQswCQYDVQQHDAJQUjERMA8G
A1UECgwIenMsIEluYy4xGTAXBgNVBAMMEHpzX3Rlc3Rfcm9vdF9jYTIwHhcNMjQw
MzEzMTMxNTM5WhcNMjUwMzEzMTMxNTM5WjBVMQswCQYDVQQGEwJGUjELMAkGA1UE
CAwCSUYxCzAJBgNVBAcMAlBSMREwDwYDVQQKDAh6cywgSW5jLjEZMBcGA1UEAwwQ
enNfdGVzdF9yb290X2NhMjCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEB
AKoQonePPKy4/uEzzF6t0+JYgT+Z1amlAf0Tc/Az2zA9gc0JdSCfYnZL0ie23dXk
wUvmQMPXh6nmQJO+mw1CG/DAGnj2g/u3PxWKdbxj77wyVJI0BIuEKakv6dmugyhP
I7/PKl/H2XGqQvoHFScegIdFhSkk1V9eg5CZZMqkpwI0bLb/yx73Ed5syWFbMtYK
LvGBNZmG1UT7vBo/gkOq7viLMrWpqkSPv+8/DbZCe0FYYWz0sUp8iWi6SmxMCLsT
S5Plm9f8VQErQnoVBUfWIJYvL2FCIx8klJykWQPssH372wupaXDX9EgBV0eedGIH
4PEpP3ovRGia6vM12Lvl4y0CAwEAAaNTMFEwHQYDVR0OBBYEFNs7TdMPDd3HIdTp
hMQ4vmaB0FWsMB8GA1UdIwQYMBaAFNs7TdMPDd3HIdTphMQ4vmaB0FWsMA8GA1Ud
EwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEBAJwtREvIwVZZNeaeseHWtaYe
vIYX0G2ONC7tAVO+RajjllisRlsKYvw2bXWBgMADdlDs9sqbKYSfz/A79SHhaEqF
QnPisSHVkTMnYWkeEaeXfxx/GEa1aXt9lEeDaDHCy2cW1cff9gJAXEE96INVAPv1
8+w9x1AyjicbgkI/+Ldtf5g9we3wdJQXbbxop92R55+MGB73UN2Bru8pESFX+FpK
Z8Bxc9ruYBUfPl1CCmapDp6lHGtGCE6gnZoMjqTZJGWYz8tBdf2zITPkOKAueuX8
5UVVtJTzpvPziktp0NZSmPzwotjH0glwL7aGIR/+5bS/cP5Je1FfKAIdH31AJmA=
-----END CERTIFICATE-----
Loading

0 comments on commit a067a77

Please sign in to comment.