Re: [PATCH v3 1/3] crypto/secret: move main logic from 'secret' to 'secret_common'.

2020-05-21 Thread Daniel P . Berrangé
On Mon, May 18, 2020 at 11:28:02PM +0300, Alexey Krasikov wrote: > Create base class 'common secret'. Move common data and logic from > 'secret' to 'common_secret' class. This allowed adding abstraction layer > for easier adding new 'secret' objects in future. > Convert 'secret' class to child

[PATCH v3 1/3] crypto/secret: move main logic from 'secret' to 'secret_common'.

2020-05-18 Thread Alexey Krasikov
Create base class 'common secret'. Move common data and logic from 'secret' to 'common_secret' class. This allowed adding abstraction layer for easier adding new 'secret' objects in future. Convert 'secret' class to child from basic 'secret_common' with 'data' and 'file' properties.