Check-in [21bc3c9fe8]
Overview
Comment:Updated to make verification failure more fatal
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 21bc3c9fe825f34550fd32366f3fba8803ace719
User & Date: rkeene on 2016-03-15 18:35:02
Other Links: manifest | tags
Context
2016-03-15
19:34
Updated to use a plain-text format for password storage check-in: 8732d95e73 user: rkeene tags: trunk
18:35
Updated to make verification failure more fatal check-in: 21bc3c9fe8 user: rkeene tags: trunk
18:32
Added a "whoami" command to determine the current users check-in: 92d30d85bb 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
	}