Overview
Comment: | More work towards actually doing multiple hashing algorithms |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | complete-multihash |
Files: | files | file ages | folders |
SHA1: |
bfaf95df49a158a4635b394c126717ad |
User & Date: | rkeene on 2017-01-20 17:19:04 |
Other Links: | branch diff | manifest | tags |
Context
2017-01-20
| ||
17:19 | More work towards actually doing multiple hashing algorithms Leaf check-in: bfaf95df49 user: rkeene tags: complete-multihash | |
2017-01-19
| ||
17:49 | Started work on completely supporting multiple hashing algorithms check-in: 2460a1ddab user: rkeene tags: complete-multihash | |
Changes
Modified README.md from [35b476a0b0] to [a25b7811db].
︙ | |||
14 15 16 17 18 19 20 | 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | - - + + - - + + - + - - + + + - - + + | AppFS should normally be mounted on "/opt/appfs". /opt/appfs/hostname Fetches: http://hostname/appfs/index Contains CSV file: hash,hashMethod,<certificateInDERFormatInHex>,<PKCS#1v1.5-signature-inDERFormatInHex> \-------------/ ^- Signed data |
Modified appfsd.tcl from [bd58d61afc] to [fbd0fd32b5].
︙ | |||
166 167 168 169 170 171 172 | 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 | - - - - - + - + | return $file } proc _isHash {value} { set value [string tolower $value] |
︙ | |||
310 311 312 313 314 315 316 | 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 | - - - + + + - - + + | sqlite3 ::appfs::db [file join $::appfs::cachedir cache.db] ::appfs::db timeout 30000 } # Create tables |
︙ | |||
376 377 378 379 380 381 382 | 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 | - + - + | set indexhashcert [lindex $indexhash_data 2] set indexhashsig [lindex $indexhash_data 3] if {![_isHash $indexhash]} { return -code error "Invalid hash: $indexhash" } |
︙ | |||
417 418 419 420 421 422 423 | 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 | - + - + - + - + - + - - + + + - + - + | unset -nocomplain pkgInfo if {[catch { set pkgInfo(package) [lindex $work 0] set pkgInfo(version) [lindex $work 1] set pkgInfo(os) [_normalizeOS [lindex $work 2]] set pkgInfo(cpuArch) [_normalizeCPU [lindex $work 3]] set pkgInfo(hash) [string tolower [lindex $work 4]] |
︙ |