ed170f35f6
Users are allowed to upload GPG keys as long as they meet the restrictions in GerritPublicKeyChecker, i.e. it is a valid key matching at least one user ID to an external ID in the database. Allow adding keys with a POST to /accounts/self/gpgkeys, as well as listing GPG keys and looking up by ID or fingerprint. To facilitate listing keys, store an additional external ID in the database with the key fingerprint. Since this is the entire external ID key, this implies only a single user may use a particular GPG key; this is similar to the restriction that only a single user may use a particular email address or HTTP username. Change-Id: I92102279452af904a985b0933a294573a16a48ca |
||
---|---|---|
.. | ||
src | ||
BUCK |