From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Thu, 10 May 2018 21:47:39 +0300 From: Konstantin Osipov Subject: Re: [tarantool-patches] [PATCH v2 05/10] session: move salt into iproto connection Message-ID: <20180510184739.GE30593@atlas> References: <34a781b067d100c015dea649ad59700ac0a50acf.1524228894.git.v.shpilevoy@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <34a781b067d100c015dea649ad59700ac0a50acf.1524228894.git.v.shpilevoy@tarantool.org> To: tarantool-patches@freelists.org Cc: vdavydov.dev@gmail.com List-ID: * Vladislav Shpilevoy [18/04/20 16:25]: > Session salt is 32 random bytes, that are used to encode password > when a user is authorized. The salt is not used in non-binary > sessions, and can be moved to iproto connection. > --- > src/box/authentication.cc | 4 ++-- > src/box/authentication.h | 3 ++- > src/box/box.cc | 4 ++-- > src/box/box.h | 2 +- > src/box/iproto.cc | 17 ++++++++++++----- > src/box/session.cc | 3 --- > src/box/session.h | 4 ---- OK to push. -- Konstantin Osipov, Moscow, Russia, +7 903 626 22 32 http://tarantool.io - www.twitter.com/kostja_osipov