Bitcoin Forum
May 26, 2024, 12:29:39 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Which are the scripts that manage the management of keys in Bitcoin Core?  (Read 216 times)
Ofiuco (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
April 16, 2019, 01:51:47 PM
 #1

Hi guys,

I am carrying out a project, for which I want to identify possible vulnerabilities in different cryptocurrencies. The idea is to see how the keys are managed by each purse of different cryptocurrencies and in case of not finding vulnerabilities, at least make a guide of good practices when creating them,

I've been looking at code for a while, but I can not find which scripts are exactly where the keys are managed. If someone can help me out, I'll be very grateful,

Best regards,
darosior
Sr. Member
****
Offline Offline

Activity: 279
Merit: 435


View Profile
April 16, 2019, 03:45:25 PM
Merited by bones261 (2), ABCbits (1)
 #2

Hi guys,

I am carrying out a project, for which I want to identify possible vulnerabilities in different cryptocurrencies. The idea is to see how the keys are managed by each purse of different cryptocurrencies and in case of not finding vulnerabilities, at least make a guide of good practices when creating them,

I've been looking at code for a while, but I can not find which scripts are exactly where the keys are managed. If someone can help me out, I'll be very grateful,

Best regards,
Hi,

the wallet management in core is done in the src/wallet/ directory. You can find some key management functions here : https://github.com/bitcoin/bitcoin/blob/598323911e930d67e678e464353eb570ad3bf2b7/src/wallet/wallet.h#L845
Ofiuco (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
April 17, 2019, 07:32:22 AM
 #3

Thank you very much Darosior, do you know any other script where I can review the key management?

Best regards,
darosior
Sr. Member
****
Offline Offline

Activity: 279
Merit: 435


View Profile
April 17, 2019, 08:58:18 PM
 #4

Thank you very much Darosior, do you know any other script where I can review the key management?

Best regards,
In core ? (btw C++ is not a scripting language)
Ofiuco (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
April 23, 2019, 10:03:57 AM
 #5

Sorry, I used a bad term, I wanted to say that if you knew some more ".cpp" or ".h" file that contains the key management,

If somehow I could find a list to find all of them, it would be wonderful,

Best regards,
darosior
Sr. Member
****
Offline Offline

Activity: 279
Merit: 435


View Profile
April 23, 2019, 10:12:06 AM
 #6

As already pointed out above, you can find them in the src/wallet/ directory.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!