devise-two-factor
devise-two-factor copied to clipboard
Lockbox instead of ActiveRecord encrypted attributes
Hey! Is it possible to use lockbox gem instead of ActiveRecord encrypted attributes?
@alec-c4 it is possible to use with lockbox but you can't use the default otp_secret
becuase it is encrypted by active record encryption mechanism, I ended up using another column/attribute called otp_secret_custom
with lockbox, then in some methods related to this OTP gem you can pass it because the default one is otp_secret