Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-08-31Avoid calling freeze on already frozen strings in app/modelsdineshpanda
2019-03-28Inherit from ApplicationRecord instead of ActiveRecord::BaseNick Thomas
2018-07-27Enable frozen string in app/models/*.rbgfyoung
Partially addresses #47424.
2017-10-05Invalidate GpgSignatures associated to GpgKeySubkeys when revoking the GpgKeyRubén Dávila
2017-10-05Fix some broken specsRubén Dávila
2017-10-05Address feedback from last code reviewRubén Dávila
2017-10-05Remove unused associationRubén Dávila
2017-10-05Render GPG subkeys on index pageRubén Dávila
2017-10-05Associate GgpSignature with GpgKeySubkey if comes from a subkeyRubén Dávila
Additionally we're delegating missing method calls on GpgKeySubkey to GpgKey since most of the info required when verifying a signature is found on GpgKey which is the parent of GpgKeySubkey
2017-10-05Add ability to include subkeys when finding by fingerprintRubén Dávila
2017-10-05Refactor the extraction and generation of GPG subkeysRubén Dávila
2017-10-05Use a separate model to handle GPG subkeysRubén Dávila
2017-10-05Delegate #key to parent when working with a GPG subkeyRubén Dávila
The content returned by #key is important when veryfying the signature, so given we don't want to repeat it in the database for GPG subkeys we need to delegate it to the parent.
2017-10-05Process and create subkeys when a new GPG key is createdRubén Dávila
2017-09-29Make GPG validation case insensitive.Tim Bishop
In line with other changes in GitLab, make email address validation properly case insensitive. The email address in the commit may be in any case, so it needs downcasing to match the address stored in GitLab for the user. Without this change the comparison fails and commits are not marked as verified. See #37009.
2017-09-15created services for keyshaseeb
2017-09-05use new #verification_statusAlexis Reigel
2017-09-05use User#verified_email? for gpg key verificationAlexis Reigel
2017-09-05simplify check for verified email in collectionAlexis Reigel
2017-09-05match the committer's email against the gpg keyAlexis Reigel
the updated verification of a gpg signature requires the committer's email to also match the user's and the key's emails.
2017-07-27improve gpg key validationAlexis Reigel
when omitting the end part of the key ('-----END PGP PUBLIC KEY BLOCK-----') the error message was not about the key anymore, but about the missing fingerprint and primary_keyid, which was confusing for the user. the new validation checks that the end also matches the expected format.
2017-07-27update all records at once using `update_all`Alexis Reigel
2017-07-27simplify nil handlingAlexis Reigel
2017-07-27upcase in the model instead of in the viewAlexis Reigel
2017-07-27use db's on_delete instead of has_many :dependentAlexis Reigel
2017-07-27use ShaAttribute for gpg table columnsAlexis Reigel
2017-07-27store gpg user name and email on the signatureAlexis Reigel
2017-07-27user may now revoke a gpg keyAlexis Reigel
other than just removing a key, which doesn't affect the verified state of a commit, revoking a key unverifies all signed commits.
2017-07-27use after_commit instead of AfterCommitQueueAlexis Reigel
2017-07-27validate presence of user on gpg_keyAlexis Reigel
2017-07-27use hash instead of 2d arrayAlexis Reigel
2017-07-27allow removal of gpg key by nullifying signaturesAlexis Reigel
2017-07-27perform signature update in sidekiq workerAlexis Reigel
2017-07-27update invalid gpg signatures when email changesAlexis Reigel
2017-07-27update invalid gpg signatures when key is createdAlexis Reigel
2017-07-27gpg signature is only valid when key is verifiedAlexis Reigel
2017-07-27add primary keyid attribute to gpg keysAlexis Reigel
2017-07-27don't sync to keychain fileAlexis Reigel
2017-07-27remove gpg from keychain when user's email changesAlexis Reigel
2017-07-27notification email on add new gpg keyAlexis Reigel
2017-07-27gpg email verificationAlexis Reigel
2017-07-27move current keychain methods to namespaceAlexis Reigel
2017-07-27email handling for gpg keysAlexis Reigel
2017-07-27add / remove gpg keys to / from system keychainAlexis Reigel
2017-07-27extract gpg functionality to lib classAlexis Reigel
2017-07-27only validate gpg_key#fingerprint "internally"Alexis Reigel
2017-07-27add emails method to GgpKeyAlexis Reigel
2017-07-27add gpg key modelAlexis Reigel