Revoked (and expired?) GPG subordinate keys are shown in GitLab UI
Summary
Revoked GPG subordinate keys are shown in GitLab UI.
Steps to reproduce
- Go to Settings -> GPG Keys
- 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

Same key in GitHub (revoked keys are hidden):

Output of checks
This bug happens on GitLab.com