Open b00f opened 2 weeks ago
If basic_auth for gRPC is not set, calling any method with a password works, such as:
basic_auth
./build/pactus-shell blockchain get-blockchain-info --auth-username foo --auth-password bar
It should warn the user that no password is set.
Create a localnet or connect to testnet, and call any gRPC API with basic auth credentials.
The API call succeeds, even though it should not.
It is still not fixed. Run node with out basic_auth and then run this command:
Description
If
basic_auth
for gRPC is not set, calling any method with a password works, such as:It should warn the user that no password is set.
How To Reproduce
Create a localnet or connect to testnet, and call any gRPC API with basic auth credentials.
What Happened
The API call succeeds, even though it should not.