question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Generate and store salt

See original GitHub issue

Hello. It there any way to make salt configurable?

https://github.com/cosmos/cosmjs/blob/f198f0acc425051f0ebd71489d993d7851b48475/packages/proto-signing/src/wallet.ts#L15

I found a way to replace that file. And put salt to the env variable:

new webpack.NormalModuleReplacementPlugin(
  new RegExp('@cosmjs/proto-signing/build/wallet.js'),
  path.resolve(
    __dirname,
    'replaced/wallet.js'
  )
)

Of course someone can find the value in a builded js, but it looks harder.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:30 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
shapkarincommented, Nov 12, 2021

@webmaster128 hello, can you please closer describe the problem? I will try to find some time for the help.

1reaction
webmaster128commented, Oct 17, 2021

Alright, go ahead. No rush. I’ll look at it then.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Adding Salt to Hashing: A Better Way to Store Passwords
According to OWASP Guidelines, a salt is a value generated by a cryptographically secure function that is added to the input of hash...
Read more >
How to store salt? - passwords
Salt and Password can be stored together because every random salt is different and that makes attacker to brute force each password. So ......
Read more >
Salt (cryptography) - Wikipedia
In cryptography, a salt is random data that is used as an additional input to a one-way ... A new salt is randomly...
Read more >
Where do you store your salt strings? - Stack Overflow
I always store the salt mixed in with the salted-password hash. ... For example, you generate a random salt of 512 bytes. You...
Read more >
Secure Salted Password Hashing - How to do it Properly
The salt should be stored in the user account table alongside the hash. To Store a Password. Generate a long random salt using...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found