File tree 3 files changed +9
-7
lines changed
3 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ rfc8785
65
65
sentry-sdk
66
66
setuptools
67
67
sigstore~=3.2.0
68
- pypi-attestations==0.0.11
68
+ pypi-attestations==0.0.12
69
69
sqlalchemy[asyncio]>=2.0,<3.0
70
70
stdlib-list
71
71
stripe
Original file line number Diff line number Diff line change @@ -1799,9 +1799,9 @@ pyparsing==3.1.4 \
1799
1799
--hash=sha256:a6a7ee4235a3f944aa1fa2249307708f893fe5717dc603503c6c7969c070fb7c \
1800
1800
--hash=sha256:f86ec8d1a83f11977c9a6ea7598e8c27fc5cddfa5b07ea2241edbbde1d7bc032
1801
1801
# via linehaul
1802
- pypi-attestations==0.0.11 \
1803
- --hash=sha256:b730e6b23874d94da0f3817b1f9dd3ecb6a80d685f62a18ad96e5b0396149ded \
1804
- --hash=sha256:e74329074f049568591e300373e12fcd46a35e21723110856546e33bf2949efa
1802
+ pypi-attestations==0.0.12 \
1803
+ --hash=sha256:b1b2d5e700def138a214869f65835ff20e5f2e524acca841d5280ea89c2d2c46 \
1804
+ --hash=sha256:d4a901121993ff8693ef9fd99e83f506ce79b5f799c36fcf8ddcdb38f4f8960b
1805
1805
# via -r requirements/main.in
1806
1806
pyqrcode==1.2.1 \
1807
1807
--hash=sha256:1b2812775fa6ff5c527977c4cd2ccb07051ca7d0bc0aecf937a43864abe5eff6 \
Original file line number Diff line number Diff line change 10
10
# See the License for the specific language governing permissions and
11
11
# limitations under the License.
12
12
13
+ import base64
13
14
import hashlib
14
15
import io
15
16
import re
@@ -2478,11 +2479,12 @@ def test_upload_attestation_fails_without_oidc_publisher(
2478
2479
attestation = Attestation (
2479
2480
version = 1 ,
2480
2481
verification_material = VerificationMaterial (
2481
- certificate = "some_cert" , transparency_entries = [dict ()]
2482
+ certificate = base64 .b64encode (b"some_cert" ),
2483
+ transparency_entries = [dict ()],
2482
2484
),
2483
2485
envelope = Envelope (
2484
- statement = "somebase64string" ,
2485
- signature = "somebase64string" ,
2486
+ statement = base64 . b64encode ( b "somebase64string") ,
2487
+ signature = base64 . b64encode ( b "somebase64string") ,
2486
2488
),
2487
2489
)
2488
2490
You can’t perform that action at this time.
0 commit comments