Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
celllframe-node
Manage
Activity
Members
Labels
Plan
Issues
5
Issue boards
Milestones
Code
Merge requests
15
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cellframe
celllframe-node
Commits
96f04ada
Commit
96f04ada
authored
3 months ago
by
pavel.uhanov
Browse files
Options
Downloads
Patches
Plain Diff
[*] add full pkey in node tool show command
parent
a8a35a9b
No related branches found
No related tags found
3 merge requests
!1842
Hotfixes 19.02
,
!1840
Backport 13637
,
!1796
backport-13637
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
cellframe-sdk
+1
-1
1 addition, 1 deletion
cellframe-sdk
sources/main_node_tool.c
+7
-2
7 additions, 2 deletions
sources/main_node_tool.c
with
8 additions
and
3 deletions
cellframe-sdk
@
c87ad031
Compare
6d171b26
...
c87ad031
Subproject commit
6d171b26714aa3ee86f4fed3c14df4d760a39c1b
Subproject commit
c87ad031775e562f54ee9d071343e0f9e927676f
This diff is collapsed.
Click to expand it.
sources/main_node_tool.c
+
7
−
2
View file @
96f04ada
...
@@ -594,7 +594,10 @@ static int s_cert_pkey_show(int argc, const char **argv)
...
@@ -594,7 +594,10 @@ static int s_cert_pkey_show(int argc, const char **argv)
printf
(
"Can't serialize cert %s"
,
argv
[
4
]);
printf
(
"Can't serialize cert %s"
,
argv
[
4
]);
exit
(
-
135
);
exit
(
-
135
);
}
}
printf
(
"%s
\n
"
,
dap_chain_hash_fast_to_str_static
(
&
l_hash
));
char
*
l_pkey_str
=
dap_cert_get_pkey_str
(
l_cert
,
"hex"
);
printf
(
"hash: %s
\n
pkey: %s
\n
"
,
dap_chain_hash_fast_to_str_static
(
&
l_hash
),
l_pkey_str
);
DAP_DELETE
(
l_pkey_str
);
return
0
;
return
0
;
}
}
...
@@ -615,7 +618,9 @@ static int s_wallet_pkey_show(int argc, const char **argv)
...
@@ -615,7 +618,9 @@ static int s_wallet_pkey_show(int argc, const char **argv)
printf
(
"Can't serialize wallet %s"
,
argv
[
4
]);
printf
(
"Can't serialize wallet %s"
,
argv
[
4
]);
exit
(
-
135
);
exit
(
-
135
);
}
}
printf
(
"%s
\n
"
,
dap_chain_hash_fast_to_str_static
(
&
l_hash
));
char
*
l_pkey_str
=
dap_chain_wallet_get_pkey_str
(
l_wallet
,
"hex"
);
printf
(
"hash: %s
\n
pkey: %s
\n
"
,
dap_chain_hash_fast_to_str_static
(
&
l_hash
),
l_pkey_str
);
DAP_DELETE
(
l_pkey_str
);
return
0
;
return
0
;
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment