@@ -151,7 +151,7 @@ pub extern fn indy_register_wallet_storage(command_handle: i32,
151151/// Custom storage types can be registered with indy_register_wallet_storage call.
152152/// "storage_config": optional<object>, Storage configuration json. Storage type defines set of supported keys.
153153/// Can be optional if storage supports default configuration.
154- // For 'default' storage type configuration is:
154+ /// For 'default' storage type configuration is:
155155/// {
156156/// "path": optional<string>, Path to the directory with wallet files.
157157/// Defaults to $HOME/.indy_client/wallets.
@@ -163,7 +163,7 @@ pub extern fn indy_register_wallet_storage(command_handle: i32,
163163/// "key": string, Passphrase used to derive wallet master key
164164/// "storage_credentials": optional<object> Credentials for wallet storage. Storage type defines set of supported keys.
165165/// Can be optional if storage supports default configuration.
166- // For 'default' storage type should be empty.
166+ /// For 'default' storage type should be empty.
167167///
168168/// }
169169///
@@ -219,7 +219,7 @@ pub extern fn indy_create_wallet(command_handle: i32,
219219/// Custom storage types can be registered with indy_register_wallet_storage call.
220220/// "storage_config": optional<object>, Storage configuration json. Storage type defines set of supported keys.
221221/// Can be optional if storage supports default configuration.
222- // For 'default' storage type configuration is:
222+ /// For 'default' storage type configuration is:
223223/// {
224224/// "path": optional<string>, Path to the directory with wallet files.
225225/// Defaults to $HOME/.indy_client/wallets.
@@ -234,7 +234,7 @@ pub extern fn indy_create_wallet(command_handle: i32,
234234/// derived from this passphrase.
235235/// "storage_credentials": optional<object> Credentials for wallet storage. Storage type defines set of supported keys.
236236/// Can be optional if storage supports default configuration.
237- // For 'default' storage type should be empty.
237+ /// For 'default' storage type should be empty.
238238///
239239/// }
240240///
@@ -288,7 +288,7 @@ pub extern fn indy_open_wallet(command_handle: i32,
288288/// wallet_handle: wallet handle returned by indy_open_wallet
289289/// export_config: JSON containing settings for input operation.
290290/// {
291- /// "path": <strinng >, Path of the file that contains exported wallet content
291+ /// "path": <string >, Path of the file that contains exported wallet content
292292/// "key": <string>, Passphrase used to derive export key
293293/// }
294294///
@@ -345,7 +345,7 @@ pub extern fn indy_export_wallet(command_handle: i32,
345345/// Custom storage types can be registered with indy_register_wallet_storage call.
346346/// "storage_config": optional<object>, Storage configuration json. Storage type defines set of supported keys.
347347/// Can be optional if storage supports default configuration.
348- // For 'default' storage type configuration is:
348+ /// For 'default' storage type configuration is:
349349/// {
350350/// "path": optional<string>, Path to the directory with wallet files.
351351/// Defaults to $HOME/.indy_client/wallets.
@@ -357,7 +357,7 @@ pub extern fn indy_export_wallet(command_handle: i32,
357357/// "key": string, Passphrase used to derive wallet master key
358358/// "storage_credentials": optional<object> Credentials for wallet storage. Storage type defines set of supported keys.
359359/// Can be optional if storage supports default configuration.
360- // For 'default' storage type should be empty.
360+ /// For 'default' storage type should be empty.
361361///
362362/// }
363363/// import_config: Import settings json.
@@ -458,7 +458,7 @@ pub extern fn indy_close_wallet(command_handle: i32,
458458/// Custom storage types can be registered with indy_register_wallet_storage call.
459459/// "storage_config": optional<object>, Storage configuration json. Storage type defines set of supported keys.
460460/// Can be optional if storage supports default configuration.
461- // For 'default' storage type configuration is:
461+ /// For 'default' storage type configuration is:
462462/// {
463463/// "path": optional<string>, Path to the directory with wallet files.
464464/// Defaults to $HOME/.indy_client/wallets.
@@ -470,7 +470,7 @@ pub extern fn indy_close_wallet(command_handle: i32,
470470/// "key": string, Passphrase used to derive wallet master key
471471/// "storage_credentials": optional<object> Credentials for wallet storage. Storage type defines set of supported keys.
472472/// Can be optional if storage supports default configuration.
473- // For 'default' storage type should be empty.
473+ /// For 'default' storage type should be empty.
474474///
475475/// }
476476///
@@ -487,13 +487,13 @@ pub extern fn indy_delete_wallet(command_handle: i32,
487487 cb : Option < extern fn ( xcommand_handle : i32 ,
488488 err : ErrorCode ) > ) -> ErrorCode {
489489 trace ! ( "indy_delete_wallet: >>> command_handle: {:?}, config: {:?}, credentials: {:?}, cb: {:?}" ,
490- command_handle, config, credentials, cb) ;
490+ command_handle, config, "_" /* credentials*/ , cb) ; // TODO: FIXME: log secrets in debug
491491
492492 check_useful_c_str ! ( config, ErrorCode :: CommonInvalidParam2 ) ;
493493 check_useful_c_str ! ( credentials, ErrorCode :: CommonInvalidParam3 ) ;
494494 check_useful_c_callback ! ( cb, ErrorCode :: CommonInvalidParam4 ) ;
495495
496- trace ! ( "indy_delete_wallet: params config: {:?}, credentials: {:?}" , config, credentials) ;
496+ trace ! ( "indy_delete_wallet: params config: {:?}, credentials: {:?}" , config, "_" /* credentials*/ ) ; // TODO: FIXME: log secrets in debug
497497
498498 let result = CommandExecutor :: instance ( )
499499 . send ( Command :: Wallet ( WalletCommand :: Delete (
0 commit comments