aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-05-04doc: Document committer authorization.Ludovic Courtès
* doc/contributing.texi (Commit Access): Add instructions for authorizing committers.
2020-05-04openpgp: Raise error conditions instead of calling 'error'.Ludovic Courtès
* guix/openpgp.scm (&openpgp-error, &openpgp-unrecognized-packet-error) (&openpgp-invalid-signature-error): New error conditions. (openpgp-hash-algorithm): Add 'signature-port' parameter. Raise an error condition instead of calling 'error'. (parse-subpackets): Likewise. (get-data): Raise instead of calling 'error'. (get-openpgp-detached-signature/ascii): Likewise. (get-signature): Likewise.
2020-05-04git-authenticate: Load the keyring from the repository.Ludovic Courtès
* build-aux/git-authenticate.scm (load-keyring-from-blob) (load-keyring-from-reference): New procedures. (authenticate-commits): Add #:keyring-reference and use 'load-keyring-from-reference'.
2020-05-04git-authenticate: Load the list of authorized keys from the tree.Ludovic Courtès
* build-aux/git-authenticate.scm (read-authorizations) (commit-authorized-keys): New procedures. (authenticate-commit): Use it instead of %AUTHORIZED-SIGNING-KEYS.
2020-05-04.guix-authorizations: Augment.Ludovic Courtès
* .guix-authorizations: Add all the currently authorized committers.
2020-05-04git-authenticate: Use (guix openpgp).Ludovic Courtès
It can now authenticate 14K+ commits in 23s instead of 4mn20. * build-aux/git-authenticate.scm (%authorized-signing-keys): Turn fingerprints into bytevectors. (with-temporary-files): Remove. (commit-signing-key): Add 'keyring' parameter. Use 'string->openpgp-packet' and 'verify-openpgp-signature' instead of (guix gnupg) procedures. (authenticate-commit): Add 'keyring' parameter. Pass it to 'commit-signing-key'. Adjust to SIGNING-KEY being an <openpgp-public-key>. (authenticate-commits): Remove 'parameterize'. Load keyring with 'get-openpgp-keyring'. (git-authenticate): When printing stats, adjust to SIGNER being an <openpgp-public-key>.
2020-05-04openpgp: Add 'string->openpgp-packet'.Ludovic Courtès
* guix/openpgp.scm (string->openpgp-packet): New procedure. * tests/openpgp.scm ("verify-openpgp-signature, missing key") ("verify-openpgp-signature, good signatures") ("verify-openpgp-signature, bad signature"): Use it.
2020-05-04openpgp: 'lookup-key-by-{id,fingerprint}' return the key first.Ludovic Courtès
Previously, 'lookup-key-by-{id,fingerprint}' would always return the list of packets where the primary key is first. Thus, the caller would need to use 'find' to actually find the requested key. * guix/openpgp.scm (keyring-insert): Always add KEY to PACKETS. (lookup-key-by-id, lookup-key-by-fingerprint): Change to return the key as the first value. (verify-openpgp-signature): Remove now unneeded call to 'find'. * tests/openpgp.scm ("get-openpgp-keyring"): Adjust accordingly.
2020-05-04openpgp: 'verify-openpgp-signature' looks up by fingerprint when possible.Ludovic Courtès
* guix/openpgp.scm (verify-openpgp-signature): Use 'lookup-key-by-fingerprint' when SIG contains a fingerprint. Honor FINGERPRINT in the 'find' predicate. Upon missing-key, return FINGERPRINT if available. * tests/openpgp.scm ("verify-openpgp-signature, missing key"): Adjust expected value accordingly.
2020-05-04openpgp: Add 'lookup-key-by-fingerprint'.Ludovic Courtès
* guix/openpgp.scm (<openpgp-keyring>)[table]: Rename to... [ids]: ... this. [fingerprints]: New field. (keyring-insert, lookup-key-by-fingerprint): New procedures. (%empty-keyring): Adjust. (get-openpgp-keyring): Manipulate KEYRING instead of its vhash, use 'keyring-insert'. * tests/openpgp.scm ("get-openpgp-keyring"): Test 'lookup-key-by-fingerprint'.
2020-05-04openpgp: Store the issuer key id and fingerprint in <openpgp-signature>.Ludovic Courtès
* guix/openpgp.scm (<openpgp-signature>)[issuer, issuer-fingerprint]: New fields. (openpgp-signature-issuer, openpgp-signature-issuer-fingerprint): Remove. (verify-openpgp-signature): Use 'openpgp-signature-issuer-key-id'. (get-signature): Initialize 'issuer' and 'issuer-fingerprint'. * tests/openpgp.scm ("get-openpgp-detached-signature/ascii"): Adjust accordingly.
2020-05-04openpgp: Decode the issuer-fingerprint signature subpacket.Ludovic Courtès
* guix/openpgp.scm (SUBPACKET-ISSUER-FINGERPRINT): New variable. (openpgp-signature-issuer-fingerprint): New procedure. (key-id-matches-fingerprint?): New procedure. (get-signature): Look for the 'issuer and 'issuer-fingerprint subpackets. Ensure the issuer key ID matches the fingerprint when both are available. (parse-subpackets): Handle SUBPACKET-ISSUER-FINGERPRINT. * tests/openpgp.scm (%rsa-key-fingerprint) (%dsa-key-fingerprint, %ed25519-key-fingerprint): New variables. * tests/openpgp.scm ("get-openpgp-detached-signature/ascii"): Check the result of 'openpgp-signature-issuer-fingerprint'.
2020-05-04Add (guix openpgp).Ludovic Courtès
* guix/openpgp.scm, tests/openpgp.scm, tests/civodul.key, tests/dsa.key, tests/ed25519.key, tests/rsa.key, tests/ed25519.sec: New files. * Makefile.am (MODULES): Add guix/openpgp.scm. (SCM_TESTS): Add tests/openpgp.scm. (EXTRA_DIST): Add tests/*.key and tests/ed25519.sec.
2020-05-04Add '.guix-authorizations'.Ludovic Courtès
* .guix-authorizations: New file.
2020-05-03gnu: emacs-relint: Update to 1.16.Nicolas Goaziou
* gnu/packages/emacs-xyz.scm (emacs-relint): Update to 1.16.
2020-05-03gnu: emacs-xr: Update to 1.19.Nicolas Goaziou
* gnu/packages/emacs-xyz.scm (emacs-xr): Update to 1.19.
2020-05-03linux-initrd: Provide fsck for F2FS.Danny Milosavljevic
* gnu/system/linux-initrd.scm (file-system-packages): Add F2FS fsck.
2020-05-03gnu: f2fs-tools-static: Work around bug in our util-linux.Danny Milosavljevic
* gnu/packages/linux.scm (f2fs-tools/static): Work around bug in our util-linux.
2020-05-03file-systems: Fix UTF-16 handling in initrd.Danny Milosavljevic
Follow-up to f73f4b3a2d7a313a6cb1667bd69205ea4b09f57c. * gnu/build/file-systems.scm (bytevector->u16-list): New procedure. (utf16->string): New procedure.
2020-05-03gnu: libusb-0.1: fix build failure on newer gccChristopher Howard
* gnu/packages/libusb.scm (libusb-0.1): Disable -Werror. Signed-off-by: Jakub Kądziołka <kuba@kadziolka.net>
2020-05-03file-systems: Fix F2FS volume name accessor.Danny Milosavljevic
Follow-up to 23b37c3d40d497cc6f07437ab26ab10e60fb6e09. * gnu/build/file-systems.scm (bytevector-utf16-length): New procedure. (null-terminated-utf16->string): New procedure. (f2fs-superblock-volume-name): Use it.
2020-05-03install: Add f2fs-tools to the installation image.Danny Milosavljevic
* gnu/system/install.scm (installation-os)[packages]: Add f2fs-tools.
2020-05-03tests: install: Test a F2FS root file system.Danny Milosavljevic
* gnu/tests/install.scm (%f2fs-root-os, %f2fs-root-installation-script, %test-f2fs-root-os): New variables.
2020-05-03gnu: network-manager-openconnect: Add missing input.Efraim Flashner
* gnu/packages/gnome.scm (network-manager-openconnect)[inputs]: Add lz4.
2020-05-03gnu: znc: Update to 1.8.0.Tobias Geerinckx-Rice
* gnu/packages/messaging.scm (znc): Update to 1.8.0.
2020-05-03gnu: qemu-minimal: Don't include libcacard as an input.Christopher Baines
This probably isn't useful for QEMU without GUI support. * gnu/package/virtualization.scm (qemu-minimal)[inputs]: Don't include libcacard.
2020-05-03gnu: Add bchoppr.Alexandros Theodotou
* gnu/packages/music.scm (bchoppr): New variable. Signed-off-by: Christopher Baines <mail@cbaines.net>
2020-05-03gnu: Add f2fs-fsck-static.raingloom
* gnu/packages/linux.scm (f2fs-fsck/static): New public variable. Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2020-05-03gnu: spice: Add libcacard as an input to enable smartcard support.Christopher Baines
This is to fix an issue with gnome-boxes when trying to start a virtual machine: unsupported type name: smartcard * gnu/packages/spice.scm (spice)[inputs]: Add libcacard.
2020-05-03gnu: qemu: Add libcacard as an input to enable smartcard support.Christopher Baines
This fixes an error in gnome-boxes when starting virtual machines: Unable to start domain: unsupported configuration: this QEMU binary lacks smartcard passthrough mode support * gnu/packages/virtualization.scm (qemu)[inputs]: Add libcacard.
2020-05-03gnu: Add libcacard.Christopher Baines
Required for smartcard support in QEMU. * gnu/packages/spice.scm (libcacard): New variable.
2020-05-03gnu: Add softhsm.Christopher Baines
Required for the libcacard tests. * gnu/packages/security-token.scm (softhsm): New variable.
2020-05-03gnu: supercollider: Enable SCClassLibrary library lookup.Giacomo Leidi
This hardcodes the path of SCClassLibrary to fix a lookup error that was preventing SCServer's boot. * gnu/packages/audio.scm (supercollider)[source]: Fetch via git, [arguments]: build release target and add a new 'patch-scclass-dir phase to hardcode SCClassLibrary path. Signed-off-by: Mathieu Othacehe <m.othacehe@gmail.com>
2020-05-03gnu: edi: Update to 0.8.0.Efraim Flashner
* gnu/packages/enlightenment.scm (edi): Update to 0.8.0. [source]: Download from new uri. [arguments]: Add custom phase to fix clang headers discovery. [native-inputs]: Add check, gettext-minimal. [license]: Add gpl3.
2020-05-03gnu: evisum: Update to 0.4.0.Efraim Flashner
* gnu/packages/enlighenment.scm (evisum): Update to 0.4.0. [build-system]: Switch to meson-build-system. [arguments]: Remove make-flags, custom phases. [inputs]: Remove alsa-lib, perl.
2020-05-03gnu: python-efl: Update to 1.24.0.Efraim Flashner
* gnu/packages/enlightenment.scm (python-efl): Update to 1.24.0.
2020-05-03gnu: enlightenment: Change mount/umount binaries.Efraim Flashner
* gnu/packages/enlightenment.scm (enlightenment)[arugments]: Use the setuid binaries for mount/umount.
2020-05-03gnu: efl: Update to 1.24.0.Efraim Flashner
* gnu/packages/enlightenment.scm (efl): Update to 1.24.0. [propagated-inputs]: Remove bullet. Add libpng. Move libtiff, libwebp ... [inputs]: ... to here. Add openjpeg. Remove libxp. [arguments]: In configure-flags disable scim, enable avahi, glib. Use setuid mount/umount binaries.
2020-05-02gnu: linux-libre: Update to 5.4.38.Mark H Weaver
* gnu/packages/linux.scm (linux-libre-5.4-version): Update to 5.4.38. (linux-libre-5.4-pristine-source): Update hash.
2020-05-02gnu: linux-libre@5.6: Update to 5.6.10.Mark H Weaver
* gnu/packages/linux.scm (linux-libre-5.6-version): Update to 5.6.10. (linux-libre-5.6-pristine-source): Update hash.
2020-05-02gnu: linux-libre@4.19: Update to 4.19.120.Mark H Weaver
* gnu/packages/linux.scm (linux-libre-4.19-version): Update to 4.19.120. (linux-libre-4.19-pristine-source): Update hash.
2020-05-02gnu: linux-libre@4.14: Update to 4.14.178.Mark H Weaver
* gnu/packages/linux.scm (linux-libre-4.14-version): Update to 4.14.178. (linux-libre-4.14-pristine-source): Update hash.
2020-05-02gnu: linux-libre@4.9: Update to 4.9.221.Mark H Weaver
* gnu/packages/linux.scm (linux-libre-4.9-version): Update to 4.9.221. (linux-libre-4.9-pristine-source): Update hash.
2020-05-02gnu: linux-libre@4.4: Update to 4.4.221.Mark H Weaver
* gnu/packages/linux.scm (linux-libre-4.4-version): Update to 4.4.221. (linux-libre-4.4-pristine-source): Update hash.
2020-05-02gnu: linux-libre: Update deblob scripts.Mark H Weaver
* gnu/packages/linux.scm (deblob-scripts-5.4): Update to 5.4.37.
2020-05-02gnu: youtube-dl: Update to 2020.05.03.Oleg Pykhalov
* gnu/packages/video.scm (youtube-dl): Update to 2020.05.03.
2020-05-02gnu: openconnect: Add LZ4 support.Tobias Geerinckx-Rice
* gnu/packages/vpn.scm (openconnect)[inputs]: Add lz4.
2020-05-02gnu: openconnect: Update to 8.09 [fixes CVE-2020-12105].Tobias Geerinckx-Rice
* gnu/packages/vpn.scm (openconnect): Update to 8.09.
2020-05-02gnu: Add musl-cross.Danny Milosavljevic
* gnu/packages/patches/musl-cross-locate.patch: New file. * gnu/packages/heads.scm: New file. * gnu/local.mk (dist_patch_DATA): Add one. (GNU_SYSTEM_MODULES): Add the other.
2020-05-02linux-boot: Allow the root file system to be mounted via NFS.Stefan
* gnu/build/linux-boot.scm (boot-system) Treat a root option with ":/" as an nfs source and avoid to call 'canonicalize-device-spec' for it. Signed-off-by: Ludovic Courtès <ludo@gnu.org>