Check-in [21bc3c9fe8]
Overview
SHA1:21bc3c9fe825f34550fd32366f3fba8803ace719
Date: 2016-03-15 18:35:02
User: rkeene
Comment:Updated to make verification failure more fatal
Timelines: family | ancestors | descendants | both | trunk
Downloads: Tarball | ZIP archive
Other Links: files | file ages | folders | manifest
Tags And Properties
Context
2016-03-15
19:34
[8732d95e73] Updated to use a plain-text format for password storage (user: rkeene, tags: trunk)
18:35
[21bc3c9fe8] Updated to make verification failure more fatal (user: rkeene, tags: trunk)
18:32
[92d30d85bb] Added a "whoami" command to determine the current users (user: rkeene, tags: trunk)
Changes

Modified hunter2 from [f70b629bc8] to [05208b6e4e].

227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
				return -code error "Unknown hashing algorithm: $hashAlgorithm"
			}
		}

		set row(verificationHash) [dict get $row(verification) hash]

		if {$verificationHash ne $row(verificationHash)} {
			puts stderr "FAILED: verification failed for $name with public key $publicKey -- it will not get the new password."

			continue
		}

		lappend publicKeys $publicKey
	}








|







227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
				return -code error "Unknown hashing algorithm: $hashAlgorithm"
			}
		}

		set row(verificationHash) [dict get $row(verification) hash]

		if {$verificationHash ne $row(verificationHash)} {
			return -code error "FAILED: verification failed for $name with public key $publicKey -- it will not get the new password."

			continue
		}

		lappend publicKeys $publicKey
	}