Skip to content

Commit 5e98b76

Browse files
committed
add signature
1 parent e6e85f9 commit 5e98b76

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

design/pkgs.go

+5
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,11 @@ var ToolPayload = Type("arduino.tool", func() {
129129
Example("SHA-256:1ae54999c1f97234a5c603eb99ad39313b11746a4ca517269a9285afa05f9100")
130130
})
131131

132+
Attribute("signature", String, `The signature used to sign the url. Mandatory when url is present.
133+
This ensure the security of the file downloaded`, func() {
134+
Example("382898a97b5a86edd74208f10107d2fecbf7059ffe9cc856e045266fb4db4e98802728a0859cfdcda1c0b9075ec01e42dbea1f430b813530d5a6ae1766dfbba64c3e689b59758062dc2ab2e32b2a3491dc2b9a80b9cda4ae514fbe0ec5af210111b6896976053ab76bac55bcecfcececa68adfa3299e3cde6b7f117b3552a7d80ca419374bb497e3c3f12b640cf5b20875416b45e662fc6150b99b178f8e41d6982b4c0a255925ea39773683f9aa9201dc5768b6fc857c87ff602b6a93452a541b8ec10ca07f166e61a9e9d91f0a6090bd2038ed4427af6251039fb9fe8eb62ec30d7b0f3df38bc9de7204dec478fb86f8eb3f71543710790ee169dce039d3e0")
135+
})
136+
132137
Required("name", "version", "packager")
133138
})
134139

0 commit comments

Comments
 (0)