Skip to content

Error in ProcessCommitWorker: JIRA ArgumentError: must specify an iv

https://sentry.gitlab.net/gitlab/gitlabcom/issues/1186918/

ArgumentError: must specify an iv
  encryptor.rb:61:in `crypt'
    raise ArgumentError.new('must specify an iv') if options[:iv].to_s.empty?
  encryptor.rb:49:in `decrypt'
    crypt :decrypt, *args, &block
  attr_encrypted.rb:240:in `decrypt'
    value = options[:encryptor].send(options[:decrypt_method], options.merge!(value: encrypted_value))
  attr_encrypted.rb:329:in `decrypt'
    self.class.decrypt(attribute, encrypted_value, evaluated_attr_encrypted_options_for(attribute))
  attr_encrypted.rb:161:in `block (2 levels) in attr_encrypted'
    instance_variable_get("@#{attribute}") || instance_variable_set("@#{attribute}", decrypt(attribute, send(encrypted_attribute_name)))
...
(87 additional frame(s) were not displayed)

must specify an iv

Related Support Tickets (internal)

Edited by 🤖 GitLab Bot 🤖