Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
L
libzmq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
libzmq
Commits
c45d91a1
Commit
c45d91a1
authored
Sep 09, 2013
by
Pieter Hintjens
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed comments on curve_keygen tool
parent
635a03d2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
16 deletions
+10
-16
curve_keygen.c
tools/curve_keygen.c
+10
-16
No files found.
tools/curve_keygen.c
View file @
c45d91a1
...
...
@@ -3,15 +3,12 @@
This file is part of 0MQ.
This tool generates a keypair for the libzmq CURVE security mechanism,
and encodes the keypair to give two printable strings that you can use
in configuration files or source code. The encoding uses Z85, which is
a base-85 format that is described in 0MQ RFC 32, and which has an
implementation in the Z85.c source used by this tool. The keypair
This tool generates a CurveZMQ keypair, as two printable strings you can
use in configuration files or source code. The encoding uses Z85, which
is a base-85 format that is described in 0MQ RFC 32, and which has an
implementation in the z85_codec.h source used by this tool. The keypair
always works with the secret key held by one party and the public key
distributed (securely!) to peers wishing to connect to it. CURVE is
defined by http://rfc.zeromq.org/spec:25. Z85 is defined by
http://rfc.zeromq.org/spec:32.
distributed (securely!) to peers wishing to connect to it.
0MQ is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License as published by
...
...
@@ -40,15 +37,12 @@ int main (void)
# error "libsodium not built correctly"
# endif
puts
(
"This tool generates a keypair for the libzmq CURVE security mechanism,"
);
puts
(
"and encodes the keypair to give two printable strings that you can use"
);
puts
(
"in configuration files or source code. The encoding uses Z85, which is"
);
puts
(
"a base-85 format that is described in 0MQ RFC 32, and which has an"
);
puts
(
"implementation in the Z85.c source used by this tool. The keypair"
);
puts
(
"This tool generates a CurveZMQ keypair, as two printable strings you can"
);
puts
(
"use in configuration files or source code. The encoding uses Z85, which"
);
puts
(
"is a base-85 format that is described in 0MQ RFC 32, and which has an"
);
puts
(
"implementation in the z85_codec.h source used by this tool. The keypair"
);
puts
(
"always works with the secret key held by one party and the public key"
);
puts
(
"distributed (securely!) to peers wishing to connect to it. CURVE is"
);
puts
(
"defined by http://rfc.zeromq.org/spec:25. Z85 is defined by"
);
puts
(
"http://rfc.zeromq.org/spec:32."
);
puts
(
"distributed (securely!) to peers wishing to connect to it."
);
uint8_t
public_key
[
32
];
uint8_t
secret_key
[
32
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment