You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Добрый день!
Редмайн 4.1.1, после установки плагина vault (с закоментированной 14ой строкой, таже проблема что в обращении #65 ) я ввел ключ шифрования
После чего заполняю ключ в хранилище
и сервер выдает такую ошибку
В логах при этом появляется:
Current user: admin (id=1)
WARNING: Can't mass-assign protected attributes for Vault::Password: tags
plugins/vault/app/controllers/keys_controller.rb:112:in block in update' plugins/vault/app/controllers/keys_controller.rb:108:in update'
lib/redmine/sudo_mode.rb:65:in `sudo_mode'
Completed 500 Internal Server Error in 17ms (ActiveRecord: 8.0ms)
Добрый день!



Редмайн 4.1.1, после установки плагина vault (с закоментированной 14ой строкой, таже проблема что в обращении #65 ) я ввел ключ шифрования
После чего заполняю ключ в хранилище
и сервер выдает такую ошибку
В логах при этом появляется:
Current user: admin (id=1)
WARNING: Can't mass-assign protected attributes for Vault::Password: tags
plugins/vault/app/controllers/keys_controller.rb:112:in
block in update' plugins/vault/app/controllers/keys_controller.rb:108:in
update'lib/redmine/sudo_mode.rb:65:in `sudo_mode'
Completed 500 Internal Server Error in 17ms (ActiveRecord: 8.0ms)
ArgumentError (key must be 16 bytes):
plugins/vault/lib/vault_cipher.rb:9:in
key=' plugins/vault/lib/vault_cipher.rb:9:in
encrypt_text'plugins/vault/lib/encryptor.rb:6:in
encrypt' plugins/vault/app/models/vault/password.rb:8:in
encrypt!'plugins/vault/app/controllers/keys_controller.rb:112:in
block in update' plugins/vault/app/controllers/keys_controller.rb:108:in
update'lib/redmine/sudo_mode.rb:65:in `sudo_mode'
The text was updated successfully, but these errors were encountered: