Skip to content

Commit

Permalink
debian: put keyring archive into version-specific file
Browse files Browse the repository at this point in the history
It will ease upgrades, as the key will differ between versions, so
having different names allows shipping new keyring into older releases
without conflicts.

QubesOS/qubes-issues#7832
  • Loading branch information
marmarek committed Jul 17, 2023
1 parent 21518b8 commit 21fdbc5
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 17 deletions.
1 change: 1 addition & 0 deletions debian/qubes-core-agent.install
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ usr/lib/qubes/tinyproxy-wrapper
usr/share/glib-2.0/schemas/*
usr/share/kde4/services/*.desktop
usr/share/keyrings/qubes-archive-keyring.gpg
usr/share/keyrings/qubes-archive-keyring-4.2.gpg
usr/share/keyrings/qubes-ubuntu-archive-keyring.gpg
usr/share/kservices5/ServiceMenus/*.desktop
usr/share/applications/*.desktop
Expand Down
4 changes: 3 additions & 1 deletion package-managers/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@ else
sed "s/@DIST@/$(DIST)/" apt-qubes-r4.list.in \
> $(DESTDIR)$(APTCONFDIR)/sources.list.d/qubes-r4.list
endif
install -D -m 0644 apt-qubes-archive-keyring.gpg \
install -D -m 0644 apt-qubes-archive-keyring-4.2.gpg \
$(DESTDIR)/usr/share/keyrings/qubes-archive-keyring-4.2.gpg
ln -s qubes-archive-keyring-4.2.gpg \
$(DESTDIR)/usr/share/keyrings/qubes-archive-keyring.gpg
install -D -m 0644 apt-qubes-ubuntu-archive-keyring.gpg \
$(DESTDIR)/usr/share/keyrings/qubes-ubuntu-archive-keyring.gpg
Expand Down
Binary file not shown.
Binary file removed package-managers/apt-qubes-archive-keyring.gpg
Binary file not shown.
1 change: 1 addition & 0 deletions package-managers/apt-qubes-archive-keyring.gpg
32 changes: 16 additions & 16 deletions package-managers/apt-qubes-r4.list.in
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
# Main qubes updates repository
deb [arch=amd64 signed-by=/usr/share/keyrings/qubes-archive-keyring.gpg ] https://deb.qubes-os.org/r4.2/vm @DIST@ main
#deb-src [arch=amd64 signed-by=/usr/share/keyrings/qubes-archive-keyring.gpg ] https://deb.qubes-os.org/r4.2/vm @DIST@ main
deb [arch=amd64 signed-by=/usr/share/keyrings/qubes-archive-keyring-4.2.gpg ] https://deb.qubes-os.org/r4.2/vm @DIST@ main
#deb-src [arch=amd64 signed-by=/usr/share/keyrings/qubes-archive-keyring-4.2.gpg ] https://deb.qubes-os.org/r4.2/vm @DIST@ main

# Qubes updates candidates repository
#deb [arch=amd64 signed-by=/usr/share/keyrings/qubes-archive-keyring.gpg] https://deb.qubes-os.org/r4.2/vm @DIST@-testing main
#deb-src [arch=amd64 signed-by=/usr/share/keyrings/qubes-archive-keyring.gpg ] https://deb.qubes-os.org/r4.2/vm @DIST@-testing main
#deb [arch=amd64 signed-by=/usr/share/keyrings/qubes-archive-keyring-4.2.gpg] https://deb.qubes-os.org/r4.2/vm @DIST@-testing main
#deb-src [arch=amd64 signed-by=/usr/share/keyrings/qubes-archive-keyring-4.2.gpg ] https://deb.qubes-os.org/r4.2/vm @DIST@-testing main

# Qubes security updates testing repository
#deb [arch=amd64 signed-by=/usr/share/keyrings/qubes-archive-keyring.gpg] https://deb.qubes-os.org/r4.2/vm @DIST@-securitytesting main
#deb-src [arch=amd64 signed-by=/usr/share/keyrings/qubes-archive-keyring.gpg ] https://deb.qubes-os.org/r4.2/vm @DIST@-securitytesting main
#deb [arch=amd64 signed-by=/usr/share/keyrings/qubes-archive-keyring-4.2.gpg] https://deb.qubes-os.org/r4.2/vm @DIST@-securitytesting main
#deb-src [arch=amd64 signed-by=/usr/share/keyrings/qubes-archive-keyring-4.2.gpg ] https://deb.qubes-os.org/r4.2/vm @DIST@-securitytesting main

# Qubes experimental/unstable repository
#deb [arch=amd64 signed-by=/usr/share/keyrings/qubes-archive-keyring.gpg] https://deb.qubes-os.org/r4.2/vm @DIST@-unstable main
#deb-src [arch=amd64 signed-by=/usr/share/keyrings/qubes-archive-keyring.gpg ] https://deb.qubes-os.org/r4.2/vm @DIST@-unstable main
#deb [arch=amd64 signed-by=/usr/share/keyrings/qubes-archive-keyring-4.2.gpg] https://deb.qubes-os.org/r4.2/vm @DIST@-unstable main
#deb-src [arch=amd64 signed-by=/usr/share/keyrings/qubes-archive-keyring-4.2.gpg ] https://deb.qubes-os.org/r4.2/vm @DIST@-unstable main


# Qubes Tor updates repositories
# Main qubes updates repository
#deb [arch=amd64 signed-by=/usr/share/keyrings/qubes-archive-keyring.gpg] tor+http://deb.qubesosfasa4zl44o4tws22di6kepyzfeqv3tg4e3ztknltfxqrymdad.onion/r4.2/vm @DIST@ main
#deb-src [arch=amd64 signed-by=/usr/share/keyrings/qubes-archive-keyring.gpg ] tor+http://deb.qubesosfasa4zl44o4tws22di6kepyzfeqv3tg4e3ztknltfxqrymdad.onion/r4.2/vm @DIST@ main
#deb [arch=amd64 signed-by=/usr/share/keyrings/qubes-archive-keyring-4.2.gpg] tor+http://deb.qubesosfasa4zl44o4tws22di6kepyzfeqv3tg4e3ztknltfxqrymdad.onion/r4.2/vm @DIST@ main
#deb-src [arch=amd64 signed-by=/usr/share/keyrings/qubes-archive-keyring-4.2.gpg ] tor+http://deb.qubesosfasa4zl44o4tws22di6kepyzfeqv3tg4e3ztknltfxqrymdad.onion/r4.2/vm @DIST@ main

# Qubes updates candidates repository
#deb [arch=amd64 signed-by=/usr/share/keyrings/qubes-archive-keyring.gpg] tor+http://deb.qubesosfasa4zl44o4tws22di6kepyzfeqv3tg4e3ztknltfxqrymdad.onion/r4.2/vm @DIST@-testing main
#deb-src [arch=amd64 signed-by=/usr/share/keyrings/qubes-archive-keyring.gpg ] tor+http://deb.qubesosfasa4zl44o4tws22di6kepyzfeqv3tg4e3ztknltfxqrymdad.onion/r4.2/vm @DIST@-testing main
#deb [arch=amd64 signed-by=/usr/share/keyrings/qubes-archive-keyring-4.2.gpg] tor+http://deb.qubesosfasa4zl44o4tws22di6kepyzfeqv3tg4e3ztknltfxqrymdad.onion/r4.2/vm @DIST@-testing main
#deb-src [arch=amd64 signed-by=/usr/share/keyrings/qubes-archive-keyring-4.2.gpg ] tor+http://deb.qubesosfasa4zl44o4tws22di6kepyzfeqv3tg4e3ztknltfxqrymdad.onion/r4.2/vm @DIST@-testing main

# Qubes security updates testing repository
#deb [arch=amd64 signed-by=/usr/share/keyrings/qubes-archive-keyring.gpg] tor+http://deb.qubesosfasa4zl44o4tws22di6kepyzfeqv3tg4e3ztknltfxqrymdad.onion/r4.2/vm @DIST@-securitytesting main
#deb-src [arch=amd64 signed-by=/usr/share/keyrings/qubes-archive-keyring.gpg ] tor+http://deb.qubesosfasa4zl44o4tws22di6kepyzfeqv3tg4e3ztknltfxqrymdad.onion/r4.2/vm @DIST@-securitytesting main
#deb [arch=amd64 signed-by=/usr/share/keyrings/qubes-archive-keyring-4.2.gpg] tor+http://deb.qubesosfasa4zl44o4tws22di6kepyzfeqv3tg4e3ztknltfxqrymdad.onion/r4.2/vm @DIST@-securitytesting main
#deb-src [arch=amd64 signed-by=/usr/share/keyrings/qubes-archive-keyring-4.2.gpg ] tor+http://deb.qubesosfasa4zl44o4tws22di6kepyzfeqv3tg4e3ztknltfxqrymdad.onion/r4.2/vm @DIST@-securitytesting main

# Qubes experimental/unstable repository
#deb [arch=amd64 signed-by=/usr/share/keyrings/qubes-archive-keyring.gpg] tor+http://deb.qubesosfasa4zl44o4tws22di6kepyzfeqv3tg4e3ztknltfxqrymdad.onion/r4.2/vm @DIST@-unstable main
#deb-src [arch=amd64 signed-by=/usr/share/keyrings/qubes-archive-keyring.gpg ] tor+http://deb.qubesosfasa4zl44o4tws22di6kepyzfeqv3tg4e3ztknltfxqrymdad.onion/r4.2/vm @DIST@-unstable main
#deb [arch=amd64 signed-by=/usr/share/keyrings/qubes-archive-keyring-4.2.gpg] tor+http://deb.qubesosfasa4zl44o4tws22di6kepyzfeqv3tg4e3ztknltfxqrymdad.onion/r4.2/vm @DIST@-unstable main
#deb-src [arch=amd64 signed-by=/usr/share/keyrings/qubes-archive-keyring-4.2.gpg ] tor+http://deb.qubesosfasa4zl44o4tws22di6kepyzfeqv3tg4e3ztknltfxqrymdad.onion/r4.2/vm @DIST@-unstable main

0 comments on commit 21fdbc5

Please sign in to comment.