Do not fail encrypt() if the public key is already in our keyring

1 job for master in 1 second (queued for 1 second)
latest
Status Job ID Name Coverage
  Test
failed #10824
run_tests

00:00:01

 
Name Stage Failure
failed
run_tests Test
Running with gitlab-runner 12.1.0 (de7731dd)
on gitlab-ci-shared 1fc9a9d2
Using Docker executor with image ai/test:base ...
Pulling docker image ai/test:base ...
ERROR: Job failed: Error response from daemon: pull access denied for ai/test, repository does not exist or may require 'docker login': denied: requested access to the resource is denied (executor_docker.go:192:1s)