Revoked (and expired?) GPG subordinate keys are shown in GitLab UI

Summary

Revoked GPG subordinate keys are shown in GitLab UI.

Steps to reproduce

  1. Go to Settings -> GPG Keys
  2. Upload a GPG key which has got one or more revoked subordinate keys

What is the current bug behavior?

The revoked subkeys are shown in exactly the same way as others.

What is the expected correct behavior?

Revoked (and expired) subkeys are either hidden or marked with some labels (better) in UI.

Relevant logs and/or screenshots

My current GPG Keys screenshot from gitlab.com Screenshot_20191202_163740

Same key in GitHub (revoked keys are hidden): Screenshot_20191202_163805

Output of checks

This bug happens on GitLab.com