Dev Ojha 337e87b228 Merge PR #1449: crypto/keys: make bcrypt security param a var
This is done so that the time spent on bcrypt during test cases
can be reduced. This change reduces the amount of time lcd tests
spend on bcrypt from 76% to 40%. (We need to reduce the number of
calls to bcrypt in a seperate PR, along with fixing other sources
of slowness)

Making the bcrypt security parameter a var shouldn't be a security issue:
One can't verify an invalid key by maliciously changing the bcrypt
parameter during a runtime vulnerability. The main security
threat this then exposes would be something that changes this during
runtime before the user creates their key. This vulnerability must
succeed to update this to that same value before every subsequent call
to gaiacli keys in future startups / or the attacker must get access
to the filesystem. However, with this same threat model (changing
variables in runtime), one can cause the user to sign a different tx
than what they see, which is a significantly cheaper attack then breaking
a bcrypt hash. (Recall that the nonce still exists to break rainbow
tables)
2018-06-29 09:22:06 +02:00
2018-06-29 02:54:47 +02:00
2018-06-29 02:54:47 +02:00
2018-06-29 02:54:47 +02:00
2018-06-05 09:25:27 -07:00
2018-06-29 02:54:47 +02:00
2018-06-29 02:54:47 +02:00
2018-06-29 02:54:47 +02:00
2018-06-29 02:54:47 +02:00
2018-01-17 20:00:54 -05:00
2018-06-22 02:19:14 +02:00
2018-06-29 02:54:47 +02:00
2018-01-29 12:38:50 +01:00
2018-02-13 08:55:44 -05:00
2018-06-29 02:54:47 +02:00
2018-06-29 02:54:47 +02:00
2018-01-27 17:40:11 -08:00

Cosmos SDK

banner

version API Reference riot.im license LoC Go Report Card

Branch Tests Coverage
develop CircleCI codecov
master CircleCI codecov

The Cosmos-SDK is a framework for building blockchain applications in Golang. It is being used to build Gaia, the first implementation of the Cosmos Hub,

WARNING: The SDK has mostly stabilized, but we are still making some breaking changes.

Note: Requires Go 1.10+

Gaia Testnet

For more information on connecting to the testnet, see cmd/gaia/testnets

For the latest status of the testnet, see the status file.

Install

See the install instructions

Quick Start

Disambiguation

This Cosmos-SDK project is not related to the React-Cosmos project (yet). Many thanks to Evan Coury and Ovidiu (@skidding) for this Github organization name. As per our agreement, this disambiguation notice will stay here.

S
Description
No description provided
Readme
288 MiB
2025-12-12 07:01:08 +00:00
Languages
Go 93.1%
C 5.5%
Java 0.3%
Sage 0.3%
Makefile 0.2%
Other 0.5%