Tarantool development patches archive
 help / color / mirror / Atom feed
* [tarantool-patches] [PATCH 0/2] swim crypto
@ 2019-05-13 21:57 Vladislav Shpilevoy
  2019-05-13 21:57 ` [tarantool-patches] [PATCH 1/2] swim: split send/recv into phases Vladislav Shpilevoy
  2019-05-13 21:57 ` [tarantool-patches] [PATCH 2/2] swim: implement and expose transport-level encryption Vladislav Shpilevoy
  0 siblings, 2 replies; 4+ messages in thread
From: Vladislav Shpilevoy @ 2019-05-13 21:57 UTC (permalink / raw)
  To: tarantool-patches; +Cc: kostja

This patchset is a full duplicate of the previously sent version to help Kostja
to review it.

Note, that these two commits are going to be kept even if lib/crypto will be
totally refactored after Georgy review. Probably a third one will be added to
support arbitrary encryption algorithms and make packet size dynamic.

Branch: http://github.com/tarantool/tarantool/tree/gerold103/gh-3234-swim-crypto
Issue: https://github.com/tarantool/tarantool/issues/3234

Vladislav Shpilevoy (2):
  swim: split send/recv into phases
  swim: implement and expose transport-level encryption

 src/lib/swim/CMakeLists.txt |   2 +-
 src/lib/swim/swim.c         |  12 ++
 src/lib/swim/swim.h         |  15 +++
 src/lib/swim/swim_ev.h      |   2 +
 src/lib/swim/swim_io.c      | 258 ++++++++++++++++++++++++++++++------
 src/lib/swim/swim_io.h      |  26 +++-
 src/lib/swim/swim_proto.h   |   5 +
 test/unit/swim.c            |  47 ++++++-
 test/unit/swim.result       |   9 +-
 test/unit/swim_test_utils.c |  15 ++-
 test/unit/swim_test_utils.h |   8 ++
 11 files changed, 349 insertions(+), 50 deletions(-)

-- 
2.20.1 (Apple Git-117)

^ permalink raw reply	[flat|nested] 4+ messages in thread
* [tarantool-patches] [PATCH 0/2] swim crypto
@ 2019-04-29 18:13 Vladislav Shpilevoy
  2019-04-29 18:13 ` [tarantool-patches] [PATCH 2/2] swim: implement and expose transport-level encryption Vladislav Shpilevoy
  0 siblings, 1 reply; 4+ messages in thread
From: Vladislav Shpilevoy @ 2019-04-29 18:13 UTC (permalink / raw)
  To: tarantool-patches; +Cc: kostja

Commits messages are quite descriptive so for details look at them.

The patchset introduces encryption API for SWIM to be able to protect the
packets again various attacks. A user can specify encryption algorithm
(only AES 128 is supported now), and a private key. Public keys are generated
randomly for each packet.

Branch: http://github.com/tarantool/tarantool/tree/gerold103/gh-3234-swim-crypto
Issue: https://github.com/tarantool/tarantool/issues/3234

Vladislav Shpilevoy (2):
  swim: split send/recv into phases
  swim: implement and expose transport-level encryption

 src/lib/swim/CMakeLists.txt |   2 +-
 src/lib/swim/swim.c         |   6 +
 src/lib/swim/swim.h         |  15 +++
 src/lib/swim/swim_ev.h      |   2 +
 src/lib/swim/swim_io.c      | 258 ++++++++++++++++++++++++++++++------
 src/lib/swim/swim_io.h      |  26 +++-
 src/lib/swim/swim_proto.h   |   5 +
 test/unit/swim.c            |  47 ++++++-
 test/unit/swim.result       |   9 +-
 test/unit/swim_test_utils.c |  15 ++-
 test/unit/swim_test_utils.h |   8 ++
 11 files changed, 343 insertions(+), 50 deletions(-)

-- 
2.20.1 (Apple Git-117)

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-05-13 21:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-13 21:57 [tarantool-patches] [PATCH 0/2] swim crypto Vladislav Shpilevoy
2019-05-13 21:57 ` [tarantool-patches] [PATCH 1/2] swim: split send/recv into phases Vladislav Shpilevoy
2019-05-13 21:57 ` [tarantool-patches] [PATCH 2/2] swim: implement and expose transport-level encryption Vladislav Shpilevoy
  -- strict thread matches above, loose matches on Subject: below --
2019-04-29 18:13 [tarantool-patches] [PATCH 0/2] swim crypto Vladislav Shpilevoy
2019-04-29 18:13 ` [tarantool-patches] [PATCH 2/2] swim: implement and expose transport-level encryption Vladislav Shpilevoy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox