Changes In Branch complete-multihash Excluding Merge-Ins
This is equivalent to a diff from 3864351ad4 to bfaf95df49
2017-02-06
| ||
15:57 | Added support for a Tcl "exec" target to be compiled in check-in: 3d73fc5750 user: rkeene tags: trunk | |
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 | |
2016-07-10
| ||
19:26 | Added support for allowing the user to completely control how downloads are performed as well as configure the default method check-in: 3864351ad4 user: rkeene tags: trunk | |
19:05 | Fixed typo in debug message check-in: 936a791a4a user: rkeene tags: trunk | |
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 [985d2df621] to [fbd0fd32b5].
︙ | |||
40 41 42 43 44 45 46 | 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 | - + - - + + + + | # User-replaceable function get the home directory of the current user proc get_homedir {} { return [::appfsd::get_homedir] } # User-replacable function to update permissions |
︙ | |||
164 165 166 167 168 169 170 | 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] |
︙ | |||
308 309 310 311 312 313 314 | 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 |
︙ | |||
374 375 376 377 378 379 380 | 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" } |
︙ | |||
415 416 417 418 419 420 421 | 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]] |
︙ |