Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to protect oneself from Mercurial identity theft?

Is there a way to protect oneself from Mercurial identity theft?

The case is if someone deliberately commit bugs into the code using another developer's name with the goal of getting that person fired or mis-credited.

Is there a way to stop that from happening or is it a non issue?

like image 498
MdaG Avatar asked Jan 21 '23 01:01

MdaG


1 Answers

I don't know a way to actually restrict the commits not so include a "stolen" identity, but if you have a centralized repository you should be able to securely audit who has pushed which changes to the server, and thereby track down the identity thief.


Edit: there seems to be support for signing commits with two extensions, the CommitsigsExtension as well as the seemingly less secure approach implemented by the GpgExtension.

Signing the changesets effectively prevents identity theft since the thief does not have the private key of the identity he wants to steal, thereby he cannot sign the commit.

like image 64
Lucero Avatar answered Jan 30 '23 01:01

Lucero