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

Change interface to ask for confirmation before creating new database #6

Open
kpcyrd opened this issue Oct 7, 2021 · 0 comments
Open

Comments

@kpcyrd
Copy link
Owner

kpcyrd commented Oct 7, 2021

I accidentally ran the sign command in the wrong directory and created a new database, which caused duplicate signatures with the RWSC6c8TVaOYGoe60E+sPiPgumSQENiSNJrBOH6IUYdfmY9xIDJCFXa2 key. There could be some kind of "setup" command that needs to be run explicitly to confirm the creation of a new database.

The duplicate signatures that have been created:

[2021-10-07T22:43:13Z INFO  pacman_bintrans_sign::archlinux] Downloadeded 1609289 bytes
[2021-10-07T22:43:13Z INFO  pacman_bintrans_sign] Signing package
[2021-10-07T22:43:13Z INFO  pacman_bintrans_sign] Adding to database
[2021-10-07T22:43:13Z INFO  pacman_bintrans_sign] Writing signature to folder: "/var/www/html/sigs/389-ds-base-2.0.10-1-x86_64.pkg.tar.zst.t"
[2021-10-07T22:43:13Z INFO  pacman_bintrans_sign] Uploading to sigstore
Created entry at index 744343, available at: https://rekor.sigstore.dev/api/v1/log/entries/ebcfcca210b93aa49e83cc0998cf58930a9ad86cb6b3cf1443ea36d2ed2a3a9e
[2021-10-07T22:43:14Z INFO  pacman_bintrans_sign] Signing package
[2021-10-07T22:43:14Z INFO  pacman_bintrans_sign] Adding to database
[2021-10-07T22:43:14Z INFO  pacman_bintrans_sign] Writing signature to folder: "/var/www/html/sigs/a2ps-4.14-12-x86_64.pkg.tar.zst.t"
[2021-10-07T22:43:14Z INFO  pacman_bintrans_sign] Uploading to sigstore
Created entry at index 744345, available at: https://rekor.sigstore.dev/api/v1/log/entries/ec5eb61eff748baec2dbcea45ad3521876ee1ed1c84094fb70a8bdb200a6d1c8
[2021-10-07T22:43:15Z INFO  pacman_bintrans_sign] Signing package
[2021-10-07T22:43:15Z INFO  pacman_bintrans_sign] Adding to database
[2021-10-07T22:43:15Z INFO  pacman_bintrans_sign] Writing signature to folder: "/var/www/html/sigs/a52dec-0.7.4-11-x86_64.pkg.tar.zst.t"
[2021-10-07T22:43:15Z INFO  pacman_bintrans_sign] Uploading to sigstore
Created entry at index 744347, available at: https://rekor.sigstore.dev/api/v1/log/entries/700606141d1ea01f57ca46f14e35f21ab5ecd254edd11f0a471f6853a6e29574
[2021-10-07T22:43:16Z INFO  pacman_bintrans_sign] Signing package
[2021-10-07T22:43:16Z INFO  pacman_bintrans_sign] Adding to database
[2021-10-07T22:43:16Z INFO  pacman_bintrans_sign] Writing signature to folder: "/var/www/html/sigs/aalib-1.4rc5-14-x86_64.pkg.tar.zst.t"
[2021-10-07T22:43:16Z INFO  pacman_bintrans_sign] Uploading to sigstore
Created entry at index 744349, available at: https://rekor.sigstore.dev/api/v1/log/entries/7b394533d1dc45929dab5c3c80af617f6e33ae774153c60eca53deb60032649e
[2021-10-07T22:43:16Z INFO  pacman_bintrans_sign] Signing package
[2021-10-07T22:43:16Z INFO  pacman_bintrans_sign] Adding to database
[2021-10-07T22:43:16Z INFO  pacman_bintrans_sign] Writing signature to folder: "/var/www/html/sigs/abiword-3.0.5-1-x86_64.pkg.tar.zst.t"
[2021-10-07T22:43:16Z INFO  pacman_bintrans_sign] Uploading to sigstore
Created entry at index 744351, available at: https://rekor.sigstore.dev/api/v1/log/entries/2d3ea2e216d4f931da07a93efe5d7c82e3065d229f56166c7f1303ff20955b97
[2021-10-07T22:43:17Z INFO  pacman_bintrans_sign] Signing package
[2021-10-07T22:43:17Z INFO  pacman_bintrans_sign] Adding to database
[2021-10-07T22:43:17Z INFO  pacman_bintrans_sign] Writing signature to folder: "/var/www/html/sigs/accerciser-3.38.0-2-any.pkg.tar.zst.t"
[2021-10-07T22:43:17Z INFO  pacman_bintrans_sign] Uploading to sigstore
Created entry at index 744353, available at: https://rekor.sigstore.dev/api/v1/log/entries/9fb778d871097b0e7eb6f83f2cf9f2aefe0b6776197e111b700a1e3485732645
[2021-10-07T22:43:18Z INFO  pacman_bintrans_sign] Signing package
[2021-10-07T22:43:18Z INFO  pacman_bintrans_sign] Adding to database
[2021-10-07T22:43:18Z INFO  pacman_bintrans_sign] Writing signature to folder: "/var/www/html/sigs/accounts-qml-module-0.7-4-x86_64.pkg.tar.zst.t"
[2021-10-07T22:43:18Z INFO  pacman_bintrans_sign] Uploading to sigstore
Created entry at index 744355, available at: https://rekor.sigstore.dev/api/v1/log/entries/c06f0bf349ab1985f4752b5002202c0447a7f45305928a31cdf78a12314873b2
[2021-10-07T22:43:19Z INFO  pacman_bintrans_sign] Signing package
[2021-10-07T22:43:19Z INFO  pacman_bintrans_sign] Adding to database
[2021-10-07T22:43:19Z INFO  pacman_bintrans_sign] Writing signature to folder: "/var/www/html/sigs/accountsservice-0.6.55-3-x86_64.pkg.tar.zst.t"
[2021-10-07T22:43:19Z INFO  pacman_bintrans_sign] Uploading to sigstore
Created entry at index 744357, available at: https://rekor.sigstore.dev/api/v1/log/entries/ed659e6197da055bc70f8a0b028da495af306a499f610201799b8543cdfb02ef
[2021-10-07T22:43:19Z INFO  pacman_bintrans_sign] Signing package
[2021-10-07T22:43:19Z INFO  pacman_bintrans_sign] Adding to database
[2021-10-07T22:43:19Z INFO  pacman_bintrans_sign] Writing signature to folder: "/var/www/html/sigs/adobe-source-code-pro-fonts-2.038ro+1.058it+1.018var-1-any.pkg.tar.zst.t"
[2021-10-07T22:43:19Z INFO  pacman_bintrans_sign] Uploading to sigstore
Created entry at index 744359, available at: https://rekor.sigstore.dev/api/v1/log/entries/ba38376ad3c4af0b09ecab80df6e8075b6f574e8a3706361746b045ebda0a8c7
[2021-10-07T22:43:20Z INFO  pacman_bintrans_sign] Signing package
[2021-10-07T22:43:20Z INFO  pacman_bintrans_sign] Adding to database
[2021-10-07T22:43:20Z INFO  pacman_bintrans_sign] Writing signature to folder: "/var/www/html/sigs/adobe-source-sans-fonts-3.046-1-any.pkg.tar.zst.t"
[2021-10-07T22:43:20Z INFO  pacman_bintrans_sign] Uploading to sigstore
Created entry at index 744361, available at: https://rekor.sigstore.dev/api/v1/log/entries/263d59ccc8fd0bacbfb5bcb7fc6e06ceb908922ec8c9322e36bb9c55a3e6bf23
[2021-10-07T22:43:21Z INFO  pacman_bintrans_sign] Signing package
[2021-10-07T22:43:21Z INFO  pacman_bintrans_sign] Adding to database
[2021-10-07T22:43:21Z INFO  pacman_bintrans_sign] Writing signature to folder: "/var/www/html/sigs/adobe-source-serif-fonts-4.004-2-any.pkg.tar.zst.t"
[2021-10-07T22:43:21Z INFO  pacman_bintrans_sign] Uploading to sigstore
Created entry at index 744363, available at: https://rekor.sigstore.dev/api/v1/log/entries/4b4d4c8712a9d2902bd46b149c3828beaade9a759b08149d86df7101a01cee81
[2021-10-07T22:43:22Z INFO  pacman_bintrans_sign] Signing package
[2021-10-07T22:43:22Z INFO  pacman_bintrans_sign] Adding to database
[2021-10-07T22:43:22Z INFO  pacman_bintrans_sign] Writing signature to folder: "/var/www/html/sigs/adwaita-icon-theme-40.1.1-1-any.pkg.tar.zst.t"
[2021-10-07T22:43:22Z INFO  pacman_bintrans_sign] Uploading to sigstore
Created entry at index 744365, available at: https://rekor.sigstore.dev/api/v1/log/entries/a92c38a986a5704535904827732defba8a9fa3e38404a75c2533e330569e2072
[2021-10-07T22:43:22Z INFO  pacman_bintrans_sign] Signing package
[2021-10-07T22:43:22Z INFO  pacman_bintrans_sign] Adding to database
[2021-10-07T22:43:22Z INFO  pacman_bintrans_sign] Writing signature to folder: "/var/www/html/sigs/aiksaurus-1.2.1-7-x86_64.pkg.tar.zst.t"
[2021-10-07T22:43:22Z INFO  pacman_bintrans_sign] Uploading to sigstore
Created entry at index 744368, available at: https://rekor.sigstore.dev/api/v1/log/entries/e72cd95b06372fe493a3636613ae82564be16707c7535e3ec97c72dcf63af0db
[2021-10-07T22:43:23Z INFO  pacman_bintrans_sign] Signing package
[2021-10-07T22:43:23Z INFO  pacman_bintrans_sign] Adding to database
[2021-10-07T22:43:23Z INFO  pacman_bintrans_sign] Writing signature to folder: "/var/www/html/sigs/aisleriot-3.22.14-1-x86_64.pkg.tar.zst.t"
[2021-10-07T22:43:23Z INFO  pacman_bintrans_sign] Uploading to sigstore
Created entry at index 744370, available at: https://rekor.sigstore.dev/api/v1/log/entries/6cf5810880639e708da267687d50fc297e5e5420491063e87c5a56fa0d33b0ae
[2021-10-07T22:43:24Z INFO  pacman_bintrans_sign] Signing package
[2021-10-07T22:43:24Z INFO  pacman_bintrans_sign] Adding to database
[2021-10-07T22:43:24Z INFO  pacman_bintrans_sign] Writing signature to folder: "/var/www/html/sigs/akonadi-21.08.2-1-x86_64.pkg.tar.zst.t"
[2021-10-07T22:43:24Z INFO  pacman_bintrans_sign] Uploading to sigstore
Created entry at index 744371, available at: https://rekor.sigstore.dev/api/v1/log/entries/dbd774a4db051f3a0ba135b88150057c8a3ccbf088e45ba6c7ce10000373497b
[2021-10-07T22:43:24Z INFO  pacman_bintrans_sign] Signing package
[2021-10-07T22:43:24Z INFO  pacman_bintrans_sign] Adding to database
[2021-10-07T22:43:24Z INFO  pacman_bintrans_sign] Writing signature to folder: "/var/www/html/sigs/akonadi-calendar-21.08.2-1-x86_64.pkg.tar.zst.t"
[2021-10-07T22:43:24Z INFO  pacman_bintrans_sign] Uploading to sigstore
Created entry at index 744373, available at: https://rekor.sigstore.dev/api/v1/log/entries/373e53aac1c0c5bae9d3bad8b7535a70ec066aebda26964f52ad575f73a466b0
[2021-10-07T22:43:25Z INFO  pacman_bintrans_sign] Signing package
[2021-10-07T22:43:25Z INFO  pacman_bintrans_sign] Adding to database
[2021-10-07T22:43:25Z INFO  pacman_bintrans_sign] Writing signature to folder: "/var/www/html/sigs/akonadi-calendar-tools-21.08.2-1-x86_64.pkg.tar.zst.t"
[2021-10-07T22:43:25Z INFO  pacman_bintrans_sign] Uploading to sigstore
Created entry at index 744375, available at: https://rekor.sigstore.dev/api/v1/log/entries/e7c6491b6fed60eabee2d539be917167421f8e871f593562c5f4de987fbdfc49
[2021-10-07T22:43:26Z INFO  pacman_bintrans_sign] Signing package
[2021-10-07T22:43:26Z INFO  pacman_bintrans_sign] Adding to database
[2021-10-07T22:43:26Z INFO  pacman_bintrans_sign] Writing signature to folder: "/var/www/html/sigs/akonadi-contacts-21.08.2-1-x86_64.pkg.tar.zst.t"
[2021-10-07T22:43:26Z INFO  pacman_bintrans_sign] Uploading to sigstore
Created entry at index 744377, available at: https://rekor.sigstore.dev/api/v1/log/entries/fd98956e5d379da540a29701bde4c0f10f6814e607260e2287f6935ed62a4688
[2021-10-07T22:43:26Z INFO  pacman_bintrans_sign] Signing package
[2021-10-07T22:43:26Z INFO  pacman_bintrans_sign] Adding to database
[2021-10-07T22:43:26Z INFO  pacman_bintrans_sign] Writing signature to folder: "/var/www/html/sigs/akonadi-import-wizard-21.08.2-1-x86_64.pkg.tar.zst.t"
[2021-10-07T22:43:26Z INFO  pacman_bintrans_sign] Uploading to sigstore
Created entry at index 744379, available at: https://rekor.sigstore.dev/api/v1/log/entries/ac3ce5f3f4bd7700e89c2fb0d36acca8deaa3a9b269698dbd03723b5ae2892b5
[2021-10-07T22:43:27Z INFO  pacman_bintrans_sign] Signing package
[2021-10-07T22:43:27Z INFO  pacman_bintrans_sign] Adding to database
[2021-10-07T22:43:27Z INFO  pacman_bintrans_sign] Writing signature to folder: "/var/www/html/sigs/akonadi-mime-21.08.2-1-x86_64.pkg.tar.zst.t"
[2021-10-07T22:43:27Z INFO  pacman_bintrans_sign] Uploading to sigstore
Created entry at index 744381, available at: https://rekor.sigstore.dev/api/v1/log/entries/13a7e0f75efdd60154d737045b350cf55e7ce73bac17974371b656b96c1db261
[2021-10-07T22:43:28Z INFO  pacman_bintrans_sign] Signing package
[2021-10-07T22:43:28Z INFO  pacman_bintrans_sign] Adding to database
[2021-10-07T22:43:28Z INFO  pacman_bintrans_sign] Writing signature to folder: "/var/www/html/sigs/akonadi-notes-21.08.2-1-x86_64.pkg.tar.zst.t"
[2021-10-07T22:43:28Z INFO  pacman_bintrans_sign] Uploading to sigstore
Created entry at index 744383, available at: https://rekor.sigstore.dev/api/v1/log/entries/d7ddad51302994a7ebdfb64475e408347ec0e81aefea78047207245ec9b8aac8
[2021-10-07T22:43:29Z INFO  pacman_bintrans_sign] Signing package
[2021-10-07T22:43:29Z INFO  pacman_bintrans_sign] Adding to database
[2021-10-07T22:43:29Z INFO  pacman_bintrans_sign] Writing signature to folder: "/var/www/html/sigs/akonadi-search-21.08.2-1-x86_64.pkg.tar.zst.t"
[2021-10-07T22:43:29Z INFO  pacman_bintrans_sign] Uploading to sigstore
Created entry at index 744385, available at: https://rekor.sigstore.dev/api/v1/log/entries/3d0b144f8f619cc4640a1b123e98e46cf853b5740279afb279ee7bb899a1461b
[2021-10-07T22:43:29Z INFO  pacman_bintrans_sign] Signing package
[2021-10-07T22:43:29Z INFO  pacman_bintrans_sign] Adding to database
[2021-10-07T22:43:29Z INFO  pacman_bintrans_sign] Writing signature to folder: "/var/www/html/sigs/akonadiconsole-21.08.2-1-x86_64.pkg.tar.zst.t"
[2021-10-07T22:43:29Z INFO  pacman_bintrans_sign] Uploading to sigstore
Created entry at index 744387, available at: https://rekor.sigstore.dev/api/v1/log/entries/0c3aff0eee6bf86f139829c1440820704c49af2c582d343363575f3723dbf101
[2021-10-07T22:43:30Z INFO  pacman_bintrans_sign] Signing package
[2021-10-07T22:43:30Z INFO  pacman_bintrans_sign] Adding to database
[2021-10-07T22:43:30Z INFO  pacman_bintrans_sign] Writing signature to folder: "/var/www/html/sigs/akregator-21.08.2-1-x86_64.pkg.tar.zst.t"
[2021-10-07T22:43:30Z INFO  pacman_bintrans_sign] Uploading to sigstore
Created entry at index 744389, available at: https://rekor.sigstore.dev/api/v1/log/entries/9b06b7b08a53b7a197150925828f928743c06b25e6d8eef0570f638482bbb9a3
[2021-10-07T22:43:31Z INFO  pacman_bintrans_sign] Signing package
[2021-10-07T22:43:31Z INFO  pacman_bintrans_sign] Adding to database
[2021-10-07T22:43:31Z INFO  pacman_bintrans_sign] Writing signature to folder: "/var/www/html/sigs/alacarte-3.36.0+2+gae6b92d-2-any.pkg.tar.zst.t"
[2021-10-07T22:43:31Z INFO  pacman_bintrans_sign] Uploading to sigstore
Created entry at index 744391, available at: https://rekor.sigstore.dev/api/v1/log/entries/0ed5244468cdeb0a609818fa83846f7ccd10f9d544a07caf6b5347e6137ff6ac
[2021-10-07T22:43:31Z INFO  pacman_bintrans_sign] Signing package
[2021-10-07T22:43:31Z INFO  pacman_bintrans_sign] Adding to database
[2021-10-07T22:43:31Z INFO  pacman_bintrans_sign] Writing signature to folder: "/var/www/html/sigs/alertmanager-0.23.0-2-x86_64.pkg.tar.zst.t"
[2021-10-07T22:43:31Z INFO  pacman_bintrans_sign] Uploading to sigstore
Created entry at index 744393, available at: https://rekor.sigstore.dev/api/v1/log/entries/1b018e728bcb3618b6f59815b14f44a3432c6cfe95bffe2361de62cc7213a058
[2021-10-07T22:43:32Z INFO  pacman_bintrans_sign] Signing package
[2021-10-07T22:43:32Z INFO  pacman_bintrans_sign] Adding to database
[2021-10-07T22:43:32Z INFO  pacman_bintrans_sign] Writing signature to folder: "/var/www/html/sigs/alsa-card-profiles-1:0.3.38-1-x86_64.pkg.tar.zst.t"
[2021-10-07T22:43:32Z INFO  pacman_bintrans_sign] Uploading to sigstore
Created entry at index 744395, available at: https://rekor.sigstore.dev/api/v1/log/entries/a43383dd5014b3769b43c9b76bd4a2d9eea40f3d3282929ba9a3b321ea5a6036
[2021-10-07T22:43:33Z INFO  pacman_bintrans_sign] Signing package
[2021-10-07T22:43:33Z INFO  pacman_bintrans_sign] Adding to database
[2021-10-07T22:43:33Z INFO  pacman_bintrans_sign] Writing signature to folder: "/var/www/html/sigs/alsa-firmware-1.2.4-2-any.pkg.tar.zst.t"
[2021-10-07T22:43:33Z INFO  pacman_bintrans_sign] Uploading to sigstore
Created entry at index 744397, available at: https://rekor.sigstore.dev/api/v1/log/entries/8d6962f7674470a63c606b7feed32decf0eb97064590d09c1d7655be876894eb
[2021-10-07T22:43:34Z INFO  pacman_bintrans_sign] Signing package
[2021-10-07T22:43:34Z INFO  pacman_bintrans_sign] Adding to database
[2021-10-07T22:43:34Z INFO  pacman_bintrans_sign] Writing signature to folder: "/var/www/html/sigs/alsa-lib-1.2.5.1-3-x86_64.pkg.tar.zst.t"
[2021-10-07T22:43:34Z INFO  pacman_bintrans_sign] Uploading to sigstore
Created entry at index 744399, available at: https://rekor.sigstore.dev/api/v1/log/entries/f07e2d1d8cbf3391b17e48a356dde6df3d2c247a3d13c869e3ca4671db44df68
[2021-10-07T22:43:34Z INFO  pacman_bintrans_sign] Signing package
[2021-10-07T22:43:34Z INFO  pacman_bintrans_sign] Adding to database
[2021-10-07T22:43:34Z INFO  pacman_bintrans_sign] Writing signature to folder: "/var/www/html/sigs/alsa-oss-1.1.8-3-x86_64.pkg.tar.zst.t"
[2021-10-07T22:43:34Z INFO  pacman_bintrans_sign] Uploading to sigstore
^C
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant