Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: add tests that operate at the API level #1097

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
371 changes: 179 additions & 192 deletions signingscript/requirements/base.txt

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions signingscript/requirements/test.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
-r base.in

aioresponses
mock
pytest
pytest-aioresponses
pytest-asyncio>=0.6.0
pytest-cov
pytest-mock
Expand Down
143 changes: 78 additions & 65 deletions signingscript/requirements/test.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
# SHA1:6511f5b8fa7f1c14fe6b51745e3bb5aa361d7d38
# SHA1:1e49568040729c0c3b50aa7de3431c2ce585ad16
#
# This file is autogenerated by pip-compile-multi
# To update, run:
#
# pip-compile-multi
#
-r base.txt
aioresponses==0.7.7 \
--hash=sha256:66292f1d5c94a3cb984f3336d806446042adb17347d3089f2d3962dd6e5ba55a \
--hash=sha256:6975f31fe5e7f2113a41bd387221f31854f285ecbc05527272cd8ba4c50764a3
# via
# -r requirements/test.in
# pytest-aioresponses
build==1.2.2.post1 \
--hash=sha256:1d61c0887fa860c01971625baae8bdd338e517b836a2f70dd1f7aa3a6b2fc5b5 \
--hash=sha256:b36993e92ca9375a219c99e606a122ff365a760a2d4bba0caa09bd5278b608b7
Expand All @@ -16,69 +22,69 @@ check-manifest==0.50 \
--hash=sha256:6ab3e3aa72a008da3314b432f4c768c9647b4d6d8032f9e1a4672a572118e48c \
--hash=sha256:d300f9f292986aa1a30424af44eb45c5644e0a810e392e62d553b24bb3393494
# via -r requirements/test.in
coverage[toml]==7.6.9 \
--hash=sha256:0824a28ec542a0be22f60c6ac36d679e0e262e5353203bea81d44ee81fe9c6d4 \
--hash=sha256:085161be5f3b30fd9b3e7b9a8c301f935c8313dcf928a07b116324abea2c1c2c \
--hash=sha256:0ae1387db4aecb1f485fb70a6c0148c6cdaebb6038f1d40089b1fc84a5db556f \
--hash=sha256:0d59fd927b1f04de57a2ba0137166d31c1a6dd9e764ad4af552912d70428c92b \
--hash=sha256:0f957943bc718b87144ecaee70762bc2bc3f1a7a53c7b861103546d3a403f0a6 \
--hash=sha256:13a9e2d3ee855db3dd6ea1ba5203316a1b1fd8eaeffc37c5b54987e61e4194ae \
--hash=sha256:1a330812d9cc7ac2182586f6d41b4d0fadf9be9049f350e0efb275c8ee8eb692 \
--hash=sha256:22be16571504c9ccea919fcedb459d5ab20d41172056206eb2994e2ff06118a4 \
--hash=sha256:2d10e07aa2b91835d6abec555ec8b2733347956991901eea6ffac295f83a30e4 \
--hash=sha256:35371f8438028fdccfaf3570b31d98e8d9eda8bb1d6ab9473f5a390969e98717 \
--hash=sha256:3c026eb44f744acaa2bda7493dad903aa5bf5fc4f2554293a798d5606710055d \
--hash=sha256:41ff7b0da5af71a51b53f501a3bac65fb0ec311ebed1632e58fc6107f03b9198 \
--hash=sha256:4401ae5fc52ad8d26d2a5d8a7428b0f0c72431683f8e63e42e70606374c311a1 \
--hash=sha256:44349150f6811b44b25574839b39ae35291f6496eb795b7366fef3bd3cf112d3 \
--hash=sha256:447af20e25fdbe16f26e84eb714ba21d98868705cb138252d28bc400381f6ffb \
--hash=sha256:4a8d8977b0c6ef5aeadcb644da9e69ae0dcfe66ec7f368c89c72e058bd71164d \
--hash=sha256:4e12ae8cc979cf83d258acb5e1f1cf2f3f83524d1564a49d20b8bec14b637f08 \
--hash=sha256:592ac539812e9b46046620341498caf09ca21023c41c893e1eb9dbda00a70cbf \
--hash=sha256:5e6b86b5847a016d0fbd31ffe1001b63355ed309651851295315031ea7eb5a9b \
--hash=sha256:608a7fd78c67bee8936378299a6cb9f5149bb80238c7a566fc3e6717a4e68710 \
--hash=sha256:61f70dc68bd36810972e55bbbe83674ea073dd1dcc121040a08cdf3416c5349c \
--hash=sha256:65dad5a248823a4996724a88eb51d4b31587aa7aa428562dbe459c684e5787ae \
--hash=sha256:777abfab476cf83b5177b84d7486497e034eb9eaea0d746ce0c1268c71652077 \
--hash=sha256:7e216d8044a356fc0337c7a2a0536d6de07888d7bcda76febcb8adc50bdbbd00 \
--hash=sha256:85d9636f72e8991a1706b2b55b06c27545448baf9f6dbf51c4004609aacd7dcb \
--hash=sha256:899b8cd4781c400454f2f64f7776a5d87bbd7b3e7f7bda0cb18f857bb1334664 \
--hash=sha256:8a289d23d4c46f1a82d5db4abeb40b9b5be91731ee19a379d15790e53031c014 \
--hash=sha256:8d2dfa71665a29b153a9681edb1c8d9c1ea50dfc2375fb4dac99ea7e21a0bcd9 \
--hash=sha256:8e3c3e38930cfb729cb8137d7f055e5a473ddaf1217966aa6238c88bd9fd50e6 \
--hash=sha256:8f8770dfc6e2c6a2d4569f411015c8d751c980d17a14b0530da2d7f27ffdd88e \
--hash=sha256:932fc826442132dde42ee52cf66d941f581c685a6313feebed358411238f60f9 \
--hash=sha256:96d636c77af18b5cb664ddf12dab9b15a0cfe9c0bde715da38698c8cea748bfa \
--hash=sha256:97ddc94d46088304772d21b060041c97fc16bdda13c6c7f9d8fcd8d5ae0d8611 \
--hash=sha256:98caba4476a6c8d59ec1eb00c7dd862ba9beca34085642d46ed503cc2d440d4b \
--hash=sha256:9901d36492009a0a9b94b20e52ebfc8453bf49bb2b27bca2c9706f8b4f5a554a \
--hash=sha256:99e266ae0b5d15f1ca8d278a668df6f51cc4b854513daab5cae695ed7b721cf8 \
--hash=sha256:9c38bf15a40ccf5619fa2fe8f26106c7e8e080d7760aeccb3722664c8656b030 \
--hash=sha256:a27801adef24cc30871da98a105f77995e13a25a505a0161911f6aafbd66e678 \
--hash=sha256:abd3e72dd5b97e3af4246cdada7738ef0e608168de952b837b8dd7e90341f015 \
--hash=sha256:adb697c0bd35100dc690de83154627fbab1f4f3c0386df266dded865fc50a902 \
--hash=sha256:b12c6b18269ca471eedd41c1b6a1065b2f7827508edb9a7ed5555e9a56dcfc97 \
--hash=sha256:b9389a429e0e5142e69d5bf4a435dd688c14478a19bb901735cdf75e57b13845 \
--hash=sha256:ba9e7484d286cd5a43744e5f47b0b3fb457865baf07bafc6bee91896364e1419 \
--hash=sha256:bb5555cff66c4d3d6213a296b360f9e1a8e323e74e0426b6c10ed7f4d021e464 \
--hash=sha256:be57b6d56e49c2739cdf776839a92330e933dd5e5d929966fbbd380c77f060be \
--hash=sha256:c69e42c892c018cd3c8d90da61d845f50a8243062b19d228189b0224150018a9 \
--hash=sha256:ccc660a77e1c2bf24ddbce969af9447a9474790160cfb23de6be4fa88e3951c7 \
--hash=sha256:d5275455b3e4627c8e7154feaf7ee0743c2e7af82f6e3b561967b1cca755a0be \
--hash=sha256:d75cded8a3cff93da9edc31446872d2997e327921d8eed86641efafd350e1df1 \
--hash=sha256:d872ec5aeb086cbea771c573600d47944eea2dcba8be5f3ee649bfe3cb8dc9ba \
--hash=sha256:d891c136b5b310d0e702e186d70cd16d1119ea8927347045124cb286b29297e5 \
--hash=sha256:db1dab894cc139f67822a92910466531de5ea6034ddfd2b11c0d4c6257168073 \
--hash=sha256:e28bf44afa2b187cc9f41749138a64435bf340adfcacb5b2290c070ce99839d4 \
--hash=sha256:e5ea1cf0872ee455c03e5674b5bca5e3e68e159379c1af0903e89f5eba9ccc3a \
--hash=sha256:e77363e8425325384f9d49272c54045bbed2f478e9dd698dbc65dbc37860eb0a \
--hash=sha256:ee5defd1733fd6ec08b168bd4f5387d5b322f45ca9e0e6c817ea6c4cd36313e3 \
--hash=sha256:f1592791f8204ae9166de22ba7e6705fa4ebd02936c09436a1bb85aabca3e599 \
--hash=sha256:f2d1ec60d6d256bdf298cb86b78dd715980828f50c46701abc3b0a2b3f8a0dc0 \
--hash=sha256:f3ca78518bc6bc92828cd11867b121891d75cae4ea9e908d72030609b996db1b \
--hash=sha256:f7b15f589593110ae767ce997775d645b47e5cbbf54fd322f8ebea6277466cec \
--hash=sha256:fd1213c86e48dfdc5a0cc676551db467495a95a662d2396ecd58e719191446e1 \
--hash=sha256:ff74026a461eb0660366fb01c650c1d00f833a086b336bdad7ab00cc952072b3
coverage[toml]==7.6.10 \
--hash=sha256:05fca8ba6a87aabdd2d30d0b6c838b50510b56cdcfc604d40760dae7153b73d9 \
--hash=sha256:0aa9692b4fdd83a4647eeb7db46410ea1322b5ed94cd1715ef09d1d5922ba87f \
--hash=sha256:0c807ca74d5a5e64427c8805de15b9ca140bba13572d6d74e262f46f50b13273 \
--hash=sha256:0d7a2bf79378d8fb8afaa994f91bfd8215134f8631d27eba3e0e2c13546ce994 \
--hash=sha256:0f460286cb94036455e703c66988851d970fdfd8acc2a1122ab7f4f904e4029e \
--hash=sha256:204a8238afe787323a8b47d8be4df89772d5c1e4651b9ffa808552bdf20e1d50 \
--hash=sha256:2396e8116db77789f819d2bc8a7e200232b7a282c66e0ae2d2cd84581a89757e \
--hash=sha256:254f1a3b1eef5f7ed23ef265eaa89c65c8c5b6b257327c149db1ca9d4a35f25e \
--hash=sha256:26bcf5c4df41cad1b19c84af71c22cbc9ea9a547fc973f1f2cc9a290002c8b3c \
--hash=sha256:27c6e64726b307782fa5cbe531e7647aee385a29b2107cd87ba7c0105a5d3853 \
--hash=sha256:299e91b274c5c9cdb64cbdf1b3e4a8fe538a7a86acdd08fae52301b28ba297f8 \
--hash=sha256:2bcfa46d7709b5a7ffe089075799b902020b62e7ee56ebaed2f4bdac04c508d8 \
--hash=sha256:2ccf240eb719789cedbb9fd1338055de2761088202a9a0b73032857e53f612fe \
--hash=sha256:32ee6d8491fcfc82652a37109f69dee9a830e9379166cb73c16d8dc5c2915165 \
--hash=sha256:3f7b444c42bbc533aaae6b5a2166fd1a797cdb5eb58ee51a92bee1eb94a1e1cb \
--hash=sha256:457574f4599d2b00f7f637a0700a6422243b3565509457b2dbd3f50703e11f59 \
--hash=sha256:489a01f94aa581dbd961f306e37d75d4ba16104bbfa2b0edb21d29b73be83609 \
--hash=sha256:4bcc276261505d82f0ad426870c3b12cb177752834a633e737ec5ee79bbdff18 \
--hash=sha256:4e0de1e902669dccbf80b0415fb6b43d27edca2fbd48c74da378923b05316098 \
--hash=sha256:4e4630c26b6084c9b3cb53b15bd488f30ceb50b73c35c5ad7871b869cb7365fd \
--hash=sha256:4eea95ef275de7abaef630c9b2c002ffbc01918b726a39f5a4353916ec72d2f3 \
--hash=sha256:507a20fc863cae1d5720797761b42d2d87a04b3e5aeb682ef3b7332e90598f43 \
--hash=sha256:54a5f0f43950a36312155dae55c505a76cd7f2b12d26abeebbe7a0b36dbc868d \
--hash=sha256:55b201b97286cf61f5e76063f9e2a1d8d2972fc2fcfd2c1272530172fd28c359 \
--hash=sha256:59af35558ba08b758aec4d56182b222976330ef8d2feacbb93964f576a7e7a90 \
--hash=sha256:5c912978f7fbf47ef99cec50c4401340436d200d41d714c7a4766f377c5b7b78 \
--hash=sha256:656c82b8a0ead8bba147de9a89bda95064874c91a3ed43a00e687f23cc19d53a \
--hash=sha256:6713ba4b4ebc330f3def51df1d5d38fad60b66720948112f114968feb52d3f99 \
--hash=sha256:675cefc4c06e3b4c876b85bfb7c59c5e2218167bbd4da5075cbe3b5790a28988 \
--hash=sha256:6f93531882a5f68c28090f901b1d135de61b56331bba82028489bc51bdd818d2 \
--hash=sha256:714f942b9c15c3a7a5fe6876ce30af831c2ad4ce902410b7466b662358c852c0 \
--hash=sha256:79109c70cc0882e4d2d002fe69a24aa504dec0cc17169b3c7f41a1d341a73694 \
--hash=sha256:7bbd8c8f1b115b892e34ba66a097b915d3871db7ce0e6b9901f462ff3a975377 \
--hash=sha256:7ed2f37cfce1ce101e6dffdfd1c99e729dd2ffc291d02d3e2d0af8b53d13840d \
--hash=sha256:7fb105327c8f8f0682e29843e2ff96af9dcbe5bab8eeb4b398c6a33a16d80a23 \
--hash=sha256:89d76815a26197c858f53c7f6a656686ec392b25991f9e409bcef020cd532312 \
--hash=sha256:9a7cfb50515f87f7ed30bc882f68812fd98bc2852957df69f3003d22a2aa0abf \
--hash=sha256:9e1747bab246d6ff2c4f28b4d186b205adced9f7bd9dc362051cc37c4a0c7bd6 \
--hash=sha256:9e80eba8801c386f72e0712a0453431259c45c3249f0009aff537a517b52942b \
--hash=sha256:a01ec4af7dfeb96ff0078ad9a48810bb0cc8abcb0115180c6013a6b26237626c \
--hash=sha256:a372c89c939d57abe09e08c0578c1d212e7a678135d53aa16eec4430adc5e690 \
--hash=sha256:a3b204c11e2b2d883946fe1d97f89403aa1811df28ce0447439178cc7463448a \
--hash=sha256:a534738b47b0de1995f85f582d983d94031dffb48ab86c95bdf88dc62212142f \
--hash=sha256:a5e37dc41d57ceba70956fa2fc5b63c26dba863c946ace9705f8eca99daecdc4 \
--hash=sha256:aa744da1820678b475e4ba3dfd994c321c5b13381d1041fe9c608620e6676e25 \
--hash=sha256:ab32947f481f7e8c763fa2c92fd9f44eeb143e7610c4ca9ecd6a36adab4081bd \
--hash=sha256:abb02e2f5a3187b2ac4cd46b8ced85a0858230b577ccb2c62c81482ca7d18852 \
--hash=sha256:b330368cb99ef72fcd2dc3ed260adf67b31499584dc8a20225e85bfe6f6cfed0 \
--hash=sha256:bc67deb76bc3717f22e765ab3e07ee9c7a5e26b9019ca19a3b063d9f4b874244 \
--hash=sha256:c0b1818063dc9e9d838c09e3a473c1422f517889436dd980f5d721899e66f315 \
--hash=sha256:c56e097019e72c373bae32d946ecf9858fda841e48d82df7e81c63ac25554078 \
--hash=sha256:c7827a5bc7bdb197b9e066cdf650b2887597ad124dd99777332776f7b7c7d0d0 \
--hash=sha256:ccc2b70a7ed475c68ceb548bf69cec1e27305c1c2606a5eb7c3afff56a1b3b27 \
--hash=sha256:d37a84878285b903c0fe21ac8794c6dab58150e9359f1aaebbeddd6412d53132 \
--hash=sha256:e2f0280519e42b0a17550072861e0bc8a80a0870de260f9796157d3fca2733c5 \
--hash=sha256:e4ae5ac5e0d1e4edfc9b4b57b4cbecd5bc266a6915c500f358817a8496739247 \
--hash=sha256:e67926f51821b8e9deb6426ff3164870976fe414d033ad90ea75e7ed0c2e5022 \
--hash=sha256:e78b270eadb5702938c3dbe9367f878249b5ef9a2fcc5360ac7bff694310d17b \
--hash=sha256:ea3c8f04b3e4af80e17bab607c386a830ffc2fb88a5484e1df756478cf70d1d3 \
--hash=sha256:ec22b5e7fe7a0fa8509181c4aac1db48f3dd4d3a566131b313d1efc102892c18 \
--hash=sha256:f4f620668dbc6f5e909a0946a877310fb3d57aea8198bde792aae369ee1c23b5 \
--hash=sha256:fd34e7b3405f0cc7ab03d54a334c17a9e802897580d964bd8c2001f4b9fd488f
# via pytest-cov
iniconfig==2.0.0 \
--hash=sha256:2d91e135bf72d31a410b17c16da610a82cb55f6b0477d1a902134b24a455b8b3 \
Expand Down Expand Up @@ -111,13 +117,20 @@ pytest==8.3.4 \
--hash=sha256:965370d062bce11e73868e0335abac31b4d3de0e82f4007408d242b4f8610761
# via
# -r requirements/test.in
# pytest-aioresponses
# pytest-asyncio
# pytest-cov
# pytest-mock
pytest-aioresponses==0.2.0 \
--hash=sha256:1a78d1eb76e1bffe7adc83a1bad0d48c373b41289367ae1f5e7ec0fceb60a04d \
--hash=sha256:61cced206857cb4e7aab10b61600527f505c358d046e7d3ad3ae09455d02d937
# via -r requirements/test.in
pytest-asyncio==0.25.0 \
--hash=sha256:8c0610303c9e0442a5db8604505fc0f545456ba1528824842b37b4a626cbf609 \
--hash=sha256:db5432d18eac6b7e28b46dcd9b69921b55c3b1086e85febfe04e70b18d9e81b3
# via -r requirements/test.in
# via
# -r requirements/test.in
# pytest-aioresponses
pytest-cov==6.0.0 \
--hash=sha256:eee6f1b9e61008bd34975a4d5bab25801eb31898b032dd55addc93e96fcaaa35 \
--hash=sha256:fde0b595ca248bb8e2d76f020b465f3b107c9632e6a1d1705f17834c89dcadc0
Expand Down
4 changes: 4 additions & 0 deletions signingscript/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ def read_file(path):
BASE_DIR = os.path.dirname(os.path.dirname(__file__))
SERVER_CONFIG_PATH = os.path.join(os.path.dirname(__file__), "example_server_config.json")
APPLE_CONFIG_PATH = os.path.join(os.path.dirname(__file__), "example_apple_notarization_config.json")
GPG_PUBKEY = os.path.join(os.path.dirname(__file__), "data", "gpg_testkey.asc")
WIDEVINE_CERT = os.path.join(os.path.dirname(__file__), "data", "windows.crt")
DEFAULT_SCOPE_PREFIX = "project:releng:signing:"
TEST_CERT_TYPE = f"{DEFAULT_SCOPE_PREFIX}cert:dep-signing"
TEST_DATA_DIR = os.path.join(os.path.dirname(__file__), "data")
Expand Down Expand Up @@ -55,6 +57,8 @@ def context(tmpdir):
context.config["artifact_dir"] = os.path.join(tmpdir, "artifact")
context.config["taskcluster_scope_prefixes"] = [DEFAULT_SCOPE_PREFIX]
context.config["apple_notarization_configs"] = APPLE_CONFIG_PATH
context.config["gpg_pubkey"] = GPG_PUBKEY
context.config["widevine_cert"] = WIDEVINE_CERT
context.autograph_configs = load_autograph_configs(SERVER_CONFIG_PATH)
context.apple_credentials_path = "fakepath"
mkdir(context.config["work_dir"])
Expand Down
33 changes: 33 additions & 0 deletions signingscript/tests/data/gpg_testkey.asc
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: Keybase OpenPGP v1.0.0
Comment: https://keybase.io/crypto

xo0EZ03+lQEEAJQU+SWd9gUU37KS8j3oP06UnyQzu3/qM+NMmILzz5JPBlZPMUwG
WRcKgDgd5kEKuZengLyx0VWE5DY8FxuZdjhs4x1VuuLomxVQTerUKFn/rRQUpZvS
3H75R+A+7OnVpMaBcxU839gDrSXf49/mQZcuDNoAuYkBT/u2mtzSMed1ABEBAAHN
G3JlbGVuZyA8cmVsZW5nQG1vemlsbGEuY29tPsKtBBMBCgAXBQJnTf6VAhsvAwsJ
BwMVCggCHgECF4AACgkQyfzTcr0lOlGzOQP9GgSI3OKIYVW/A1uF+KMIHg9rvZZq
1n5ttVPSfi5brH14vqCKMbVPe1vgh/v3G9dLxOTE3YugUeRMrDO2l5tWHa9IGZc9
SvmFgQpjblFcJ2sNsiJ2LhPFaEsW7faTT0Esi9Q9OS7m2Ck5QKH8NwAcsTuKFnVX
t8mEvhy/1Yad7K/OjQRnTf6VAQQAqhsek4ZhLGlDHlgi7oEymw4Vh40PgiRF1Gfr
5X4QhIUrylZpyriViqjHa5CLwCTTsoo29oXC6xnKZWSF4/3gC5s58M7POC/NxXO6
psTtzX5o53NxwgsBXwRprVhOxthXLqzrWt0cmXsfHCZC5xvRPOWp7SAWGBgEd/5A
nqriRRMAEQEAAcLAgwQYAQoADwUCZ03+lQUJDwmcAAIbLgCoCRDJ/NNyvSU6UZ0g
BBkBCgAGBQJnTf6VAAoJEF/94VPFBxqc6M4D/02fBrz/LWNos/44su04bVD4CNV2
NGxoIh4gssmxwwbnualg0T3oMg2YMWTOfEhdU+L/Xxr5kh2E880EiK7nm1TIrWzS
OEjX4CR7UF/VU55AqocgtJewhNisrqYTTIjUrwy/kHUNULq7ayIneMAciSt67+Ec
Kay+OAAfaZq1Ir2oFH4D/3kevuqj7djQ5CqWV1qR23xHrcEZgBXTPWypTjJ9AweW
r/L5g/UI1KKShHJKLmc6uXJ1/nlcyjj1qm2nJ6aAIqVZEZjPwrvlyhKVc+gls4SB
ulvvaVKC8iKcPvgq8CrC5B2vePjBpCiMUIVU8MFEHv+4KgvfFtXpR9qwhJiCj0KR
zo0EZ03+lQEEAL13xc8IVtHxTfAxZNzGLObBjSnx4CiXnQ3fN8e7f1mwaaiP39/9
NulYyMHpRiLd4zLbysTwgB2oTDmEdCHaTIDHQAC2j+sx2GnZ1qpEyKJIExxfhuJj
Sy/T3miD+661ESZgB0fwWvYsmWpgNfKiuWsQ/WuZnFSGYrspbpI3k/ZbABEBAAHC
wIMEGAEKAA8FAmdN/pUFCQ8JnAACGy4AqAkQyfzTcr0lOlGdIAQZAQoABgUCZ03+
lQAKCRA4Ms86SPZ3/juAA/0TSaDDRC34Ri+hQ84ncYp8rcx399Kqgtrc+XrKn/7k
JMOqbkKbEfh9vIrz55PLRwVqX7Sq5st16ZM4D0rpmtE8CusTz6/ulOv6V5f2OIWC
tsZ6ocE4t+1Z9UeDsaqL1NROP6t21MxEnhDPaHWQpiMlWD7N5MTgLT2XdZVyB8HJ
A4LNBACRgdyFnAjtdmCUtZgSQZq/4WQE+vTibBq1EqOrQLmWSK2n/fHGK0oJNySD
jO5XR/QlFEZ8WeJubp6AnCAiy4H38bJklmq1LOldpKq8LyW2xQnGagZaiUE0K9IM
+T2UoEDdVewwwF7g/Zf+sBxRphS+dYox2ojhKMEP7HZnMo7TRQ==
=tnDO
-----END PGP PUBLIC KEY BLOCK-----
Binary file added signingscript/tests/data/widevine.tar.gz
Binary file not shown.
Binary file added signingscript/tests/data/widevine.zip
Binary file not shown.
8 changes: 7 additions & 1 deletion signingscript/tests/example_server_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@
],
"project:releng:signing:cert:dep-signing": [
["https://127.0.0.3", "hawk_user", "hawk_secret", ["autograph_marsha384"]],
["https://127.0.0.3", "hawk_user", "hawk_secret", ["autograph_authenticode_sha2"], "keyid"]
["https://127.0.0.3", "hawk_user", "hawk_secret", ["autograph_authenticode_sha2"], "keyid"],
["https://prod", "hawk_user", "hawk_secret", ["autograph_gpg"], "gpgkey"],
["https://stage", "hawk_user", "hawk_secret", ["stage_autograph_gpg"], "gpgkey"],
["https://prod", "hawk_user", "hawk_secret", ["autograph_hash_only_mar384"], "markey"],
["https://stage", "hawk_user", "hawk_secret", ["stage_autograph_hash_only_mar384"], "markey"],
["https://prod", "hawk_user", "hawk_secret", ["widevine"], "widevinekey"],
["https://stage", "hawk_user", "hawk_secret", ["stage_widevine"], "widevinekey"]
]
}
Loading