IBMStockTrader / stocktrader-operator

Umbrella operator that installs/configures the IBM Stock Trader sample
7 stars 17 forks source link

Adding encryption configuration properties for stock quote #18

Closed sigfrido45 closed 1 year ago

sigfrido45 commented 2 years ago

First encryptorType field, in stock-quote-spring we have 4 types of encryptors:

  1. springSecurityBytesEncryptor -> using Spring Security bytes encryptor method
  2. noneEncryptor -> Not using encryption
  3. aesGsmEncryptor -> Galois Counter mode encryptor
  4. springSecurityTextEncryptor -> using Spring Security text encryptor method

saltBytes property, which is generated by KeyGenerators.string().generateKey(), it allows to work with multiple replicas of stock-quote which can decrypt and encrypt simulteanosly

Finally encryptionPassword property used for encryption and decryption.

jwalcorn commented 1 year ago

Addressed in v1.0.0 of the operator