752
753
754
755
756
757
758
759
760
761
762
763
764
765
|
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
|
-
+
+
+
+
+
+
+
+
-
-
+
+
|
emitError [appendArgs \
"failed to export signature for " $fileType " \"" $fileName \"]
}
#
# NOTE: Add the standard XML comment to the file.
# NOTE: Add the standard XML comment to the file, including a hash of
# the script file being signed. For ease of use with existing
# Eagle repositories, the SHA1 hash algorithm is used here, if
# one has not been explicitly set already.
#
if {![info exists hashAlgorithmName]} then {
set hashAlgorithmName SHA1
}
if {[certificate warning -type Script $certificateFile] \
ne "WarningOk"} then {
if {[certificate warning -type Script -hashalgorithm \
$hashAlgorithmName -- $certificateFile] ne "WarningOk"} then {
emitError [appendArgs \
"failed to add warning for " $fileType " \"" $fileName \"]
}
#
|
846
847
848
849
850
851
852
853
854
855
856
|
853
854
855
856
857
858
859
860
861
862
863
|
-
+
|
#
unset -nocomplain fileName vendor embed duration entityType encoding \
privateKeyFile publicKeyFile importFirst quantity id timeStamp \
configFileName embedSpacing embedPrefix embedSuffix publicKey \
privateKey shouldEmbed harpyIsSpecial fileType certificateFile \
certificate data lines line
certificate hashAlgorithmName data lines line
if {[info exists path_set]} then {
unset -nocomplain path path_set
}
|