Skip to content

Commit b3cdcd1

Browse files
committed
f update docs and messages
1 parent f64f6bd commit b3cdcd1

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

rust/auth-impls/src/signature.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@
22
//! come with a public key and proof of private key knowledge. Access is then granted to the user
33
//! defined by the public key.
44
//!
5-
//! Because no rate-limiting of new user accounts is done, a higher-level service is required to
6-
//! ensure requests are not triggering excess new user registrations.
5+
//! There is no specific restriction of who is allowed to store data in VSS using this
6+
//! authentication scheme, only that each user is only allowed to store and access data for which
7+
//! they have a corresponding private key. Thus, you must ensure new user accounts are
8+
//! appropriately rate-limited or access to the VSS server is somehow limited.
79
//!
810
//! [`Authorizer`]: api::auth::Authorizer
911

rust/server/src/main.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,13 +99,14 @@ fn main() {
9999
#[cfg(feature = "sigs")]
100100
{
101101
if authorizer.is_none() {
102+
println!("Configured signature-validating authorizer");
102103
authorizer = Some(Arc::new(SignatureValidatingAuthorizer));
103104
}
104105
}
105106
let authorizer = if let Some(auth) = authorizer {
106107
auth
107108
} else {
108-
println!("No authentication method configured, all storage will be comingled");
109+
println!("No authentication method configured, all storage with the same store id will be commingled.");
109110
Arc::new(NoopAuthorizer {})
110111
};
111112

0 commit comments

Comments
 (0)