Overview
Comment: | Pickup upstream updates to the Harpy script signing tool. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | trunk |
Files: | files | file ages | folders |
SHA1: |
61c3716d78443482b89ca74bc68b5704 |
User & Date: | mistachkin on 2025-04-16 13:27:57 |
Other Links: | manifest | tags |
Context
2025-04-16
| ||
13:27 | Pickup upstream updates to the Harpy script signing tool. Leaf check-in: 61c3716d78 user: mistachkin tags: trunk | |
04:46 | Fix typo in the 'haveValidLoginCookie' procedure. check-in: d1f3dcdd08 user: mistachkin tags: trunk | |
Changes
Modified externals/Harpy/Tools/sign.eagle from [e2b78aa09a] to [835320f8bb].
︙ | |||
17 18 19 20 21 22 23 | 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 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 | - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + | proc usage { error } { if {[string length $error] > 0} then {puts stdout $error} puts stdout "usage:\ [file tail [getShellExecutableName]]\ [file tail [info script]] <fileName> \[vendor\] \[embed\]\ \[duration\] \[entityType\] \[encoding\] \[publicKeyFile\]\ |
︙ | |||
177 178 179 180 181 182 183 | 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 | - + | puts stdout [appendArgs \ "removed embedded certificate from file \"" $fileName \"] } } } |
︙ | |||
362 363 364 365 366 367 368 369 370 371 372 373 374 375 | 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 | + + + + + + + + + + + + + + + + + + + + + + + + | # if {[llength $argv] >= 10} then { set quantity [lindex $argv 9] } else { set quantity -1; # NOTE: Unlimited. } # # NOTE: Do we want to manually override the unique Id? # if {[llength $argv] >= 11} then { set id [lindex $argv 10] } else { set id ""; # NOTE: Guid.NewGuid (?) } # # NOTE: Do we want to manually override the timestamp? # if {[llength $argv] >= 12} then { set timeStamp [object invoke \ -create -alias DateTime ParseExact \ [lindex $argv 11] yyyy-MM-ddTHH:mm:ss.fffffffK \ null {AdjustToUniversal AssumeUniversal}] set timeStamp [object invoke \ -create DateTime SpecifyKind $timeStamp Utc] } else { set timeStamp ""; # NOTE: DateTime.UtcNow (?) } # # NOTE: If the configuration file exists, load it now. # set configFileName [file join $path sign.settings.eagle] if {[file exists $configFileName]} then {source $configFileName} # |
︙ | |||
410 411 412 413 414 415 416 | 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 | - + | } else { set shouldEmbed false } # # HOOK: After all arguments have been parsed and processed. # |
︙ | |||
455 456 457 458 459 460 461 | 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 | - + - + + - + - + | # set certificate [certificate import $fileName] maybeForceHashAlgorithm $certificate $privateKey # # HOOK: Post-certificate object creation (import). # |
︙ | |||
510 511 512 513 514 515 516 | 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 | - + | } maybeForceHashAlgorithm $certificate $privateKey # # HOOK: Post-certificate object creation (create). # |
︙ | |||
558 559 560 561 562 563 564 | 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 | - + - + - - + + + + - + - + - + - + - - + + + + - + - + | # some point, be seen by the script policy callback. # $certificate EntityValue [readEntityValue $fileName] # # HOOK: Post-certificate property setup (embedded). # |
︙ | |||
658 659 660 661 662 663 664 | 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 | - + - + | catch {file delete -force $certificateFile} # # NOTE: Export the data file certificate to disk. # if {[certificate export $certificate $certificateFile] \ ne "ExportedOk"} then { |
︙ | |||
759 760 761 762 763 764 765 | 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 | - + | puts stdout [appendArgs \ "added embedded certificate to " $fileType " \"" $fileName \"] } # # HOOK: Script completion. # |
︙ |
Modified externals/Harpy/Tools/sign.eagle.asc from [0c12f86a5e] to [7062713373].
1 2 3 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | - - - - - - - - - - - - - + + + + + + + + + + + + + | -----BEGIN PGP SIGNATURE----- Comment: Eagle Package Repository |
Modified externals/Harpy/Tools/sign.eagle.harpy from [9b279cae82] to [b013b71a9b].
︙ | |||
17 18 19 20 21 22 23 | 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 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 | - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + | THE ASSOCIATED SOFTWARE MAY NOT WORK PROPERLY IF THIS FILE IS ALTERED. --> <Certificate xmlns="https://eagle.to/2011/harpy" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <Protocol>None</Protocol> <Vendor>Mistachkin Systems</Vendor> |
Modified externals/Harpy/Tools/sign.eagle.harpy.asc from [e31aac5ff1] to [2820582464].
1 2 3 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | - - - - - - - - - - - - - + + + + + + + + + + + + + | -----BEGIN PGP SIGNATURE----- Comment: Eagle Package Repository |