Template:Committed identity: Difference between revisions

From TestWiki
Content added Content deleted
(→‎Why?: «+"address for your", "But even if you do everything right, it is still possible" → "If you have one, it may also be helpful to post your [[PGP]b le"»)
m (73 revisions imported from meta:Template:Committed_identity)
 
(62 intermediate revisions by 26 users not shown)
Line 1: Line 1:
<div id="user-committed-identity" style="font-size:85%; display:block; background:{{{background|#E0E8FF}}}; border:1px solid {{{border|#E0E8FF}}}; margin: 0.2em 0; padding: 0.1em 0.3em; word-wrap: break-word; {{{extra-style|}}}">[[Template:Committed identity|Committed&nbsp;identity]]: '''{{{1}}}''' is {{{article|a}}} {{#ifexist: {{{2}}}| [[{{{2}}}]]|{{{2|[[w:SHA-512|SHA-512]]}}}}} [[w:Commitment scheme|commitment]] to this user's real-life identity.
{| cellspacing="0" style="background:#E0E8FF"
</div><noinclude>
| style="font-size:8pt;padding:4pt;line-height:1.25em" | [[Template:User committed identity|Committed identity]]: '''{{{1}}}''' is a [[SHA-1]] [[Commitment scheme|commitment]] to this user's real-life identity.
{{documentation}}
|}{{{category|[[Category:Wikipedians with committed identities]]}}}<noinclude>
<!-- Add categories and interwikis to the /doc subpage, not here! -->
This template categorizes pages it is used on into [[:Category:Wikipedians with committed identities]].
[[Category:Wikipedia related user templates|{{PAGENAME}}]]
[[Category:Computer related user templates|{{PAGENAME}}]]

----
==Why?==
The intended use of this template is to help in the hopefully unlikely event that your account is compromised. If you published the real-life identity of the person using your account (you), then that identity could be used to reestablish contact with that person if the account were compromised; keep in mind, in this scenario contact could not be established with you through your account, since it may be under the control of someone else. However, many Wikipedia users do not disclose their real-life identities, or disclose little enough of them that it may be difficult to establish their identity.

This is not a replacement for having a [[Password strength|strong password]], nor for registering an email address for your account. You should still do everything you can to prevent your account being compromised, including using a strong password and remembering to log yourself out when using a computer others may have access to. If you have one, it may also be helpful to post your [[PGP]b le that your account could become corrupted, for instance, via a [[trojan horse (computing)|trojan horse]] or a brute-force attack on your password. This is intended to be a last resort.

==How==
The idea is to use cryptographic hashes; you choose a secret string known only to yourself, put it through a one-way function, and publish the result somewhere. As the result is a hash, nobody can easily work backwards from the hash to the secret string; hence, if you give the secret string to someone and they hash it and the hash turns out to be same as the one published, it is very strong evidence that the person giving the secret string is the same person who originally published it. An attacker compromising an account presumably would not know the secret string.

===Choosing a good string===
# Your string should not be easy to guess. If you haven't openly declared your real-life identity on Wikipedia, then any string specifying your real-life identity is a good string. If you ''have'' openly declared who you are, your string should specify more information that wouldn't be easy to guess. ''If your string is easy to guess,'' then the fact that you know the string may not be very persuasive.
# Your string should specify enough of your identity that, if the string were revealed, you could unambiguously prove you match that identity. For instance, your string could include a telephone number or email address at which you can be reached.
# Try not to choose a string that represents your identity that could go completely out of date. So, for instance, it may be bad to choose a string that specifies ''only'' your telephone number as your number might change.
# If you want to change your string, do so, but keep track of all your old secret strings. It is best to reveal all of them if you ever want to confirm your identity, as this will establish that you are the same person who used your account from the first moment the committed identity was published.
# Your string should not be short: at least 15 characters. A dedicated attacker could, by brute force, try strings until they find your secret string, but if your string is long enough, that attack would take too long to be practical. If your string is at least 15 characters long, there are around 10<sup>27</sup> strings of that length, or a thousand trillion trillion (and that's just counting alphanumeric strings with spaces).

===Getting the hash===
Go to [http://www.cs.eku.edu/faculty/styer/460/Encrypt/JS-SHA1.html this site], and enter in the text box a string that specifies your real-life identity, then click "calculate hash". Then put <nowiki>{{User committed identity|</nowiki>''output''}} on your [[Wikipedia:User page|user page]], where ''output'' is the value appearing in the "SHA-1 hash:" box after the hash is calculated. Be sure to note the ''exact string'' you enter into the form, in case you need to use it later. It is important that this string be both easily remembered exactly by you and hard to guess by any intruder - if an intruder knows the secret string, then this is useless. One's username is public and guessable; one's password is not a good choice either, as in the event of a compromised account, the password may have been guessed.

===Using===
To make use of your committed identity to someone and prove you are the same person who originally controlled the account , give a trusted user the ''exact secret string'' you originally entered into the box. They can then compute the SHA-1 hash of that same string and verify that it is the same result and that you are who you say you are.

Once you've established your identity, and set up a new account or regained control of the original account, you'll probably want to create a new hash as now someone (possibly multiple someones depending on who and how you told the secret string to) else knows the secret string.
</noinclude>
</noinclude>

Latest revision as of 02:22, 10 November 2020

Committed identity: {{{1}}} is a SHA-512 commitment to this user's real-life identity.