Skip to content
Snippets Groups Projects
  1. May 04, 2020
    • Ludovic Courtès's avatar
      .guix-authorizations: Add bricewge to the committers. · d074f73a
      Ludovic Courtès authored
      * .guix-authorizations: Add fingerprint for bricewge.
      d074f73a
    • Vincent Legoll's avatar
      gnu: Add gromacs. · 06ed1dba
      Vincent Legoll authored
      
      * gnu/packages/chemistry.scm (gromacs): New variable.
      * gnu/packages/patches/gromacs-tinyxml2.patch: New file...
      * gnu/local.mk (dist_patch_DATA): ...add it here.
      
      Signed-off-by: default avatarLudovic Courtès <ludo@gnu.org>
      06ed1dba
    • Vincent Legoll's avatar
      gnu: Add lmfit. · feba2c97
      Vincent Legoll authored
      
      * gnu/packages/algebra.scm (lmfit): New variable.
      
      Signed-off-by: default avatarLudovic Courtès <ludo@gnu.org>
      feba2c97
    • Vincent Legoll's avatar
      gnu: Add tng. · 1c560401
      Vincent Legoll authored
      
      * gnu/packages/chemistry.scm (tng): New variable.
      
      Signed-off-by: default avatarLudovic Courtès <ludo@gnu.org>
      1c560401
    • Ludovic Courtès's avatar
      doc: Recommend against SHA1 OpenPGP signatures. · 4a84deda
      Ludovic Courtès authored
      * doc/contributing.texi (Commit Access): Recommend against SHA1
      signatures.
      4a84deda
    • Ludovic Courtès's avatar
      doc: Document committer authorization. · 84133320
      Ludovic Courtès authored
      * doc/contributing.texi (Commit Access): Add instructions for
      authorizing committers.
      84133320
    • Ludovic Courtès's avatar
      openpgp: Raise error conditions instead of calling 'error'. · 05d973ee
      Ludovic Courtès authored
      * 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.
      05d973ee
    • Ludovic Courtès's avatar
      git-authenticate: Load the keyring from the repository. · 041dc3a9
      Ludovic Courtès authored
      * 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'.
      041dc3a9
    • Ludovic Courtès's avatar
      git-authenticate: Load the list of authorized keys from the tree. · 92db1036
      Ludovic Courtès authored
      * build-aux/git-authenticate.scm (read-authorizations)
      (commit-authorized-keys): New procedures.
      (authenticate-commit): Use it instead of %AUTHORIZED-SIGNING-KEYS.
      92db1036
    • Ludovic Courtès's avatar
      .guix-authorizations: Augment. · bee5b7a0
      Ludovic Courtès authored
      * .guix-authorizations: Add all the currently authorized committers.
      bee5b7a0
    • Ludovic Courtès's avatar
      git-authenticate: Use (guix openpgp). · 051a45e6
      Ludovic Courtès authored
      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>.
      051a45e6
    • Ludovic Courtès's avatar
      openpgp: Add 'string->openpgp-packet'. · b835e158
      Ludovic Courtès authored
      * 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.
      b835e158
    • Ludovic Courtès's avatar
      openpgp: 'lookup-key-by-{id,fingerprint}' return the key first. · bd812655
      Ludovic Courtès authored
      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.
      bd812655
    • Ludovic Courtès's avatar
      openpgp: 'verify-openpgp-signature' looks up by fingerprint when possible. · b45fa0a1
      Ludovic Courtès authored
      * 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.
      b45fa0a1
    • Ludovic Courtès's avatar
      openpgp: Add 'lookup-key-by-fingerprint'. · efe1f012
      Ludovic Courtès authored
      * 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'.
      efe1f012
    • Ludovic Courtès's avatar
      openpgp: Store the issuer key id and fingerprint in <openpgp-signature>. · 7b2b3a13
      Ludovic Courtès authored
      * 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.
      7b2b3a13
    • Ludovic Courtès's avatar
      openpgp: Decode the issuer-fingerprint signature subpacket. · 4459c785
      Ludovic Courtès authored
      * 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'.
      4459c785
    • Ludovic Courtès's avatar
      Add (guix openpgp). · 43408e30
      Ludovic Courtès authored
      * 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.
      43408e30
    • Ludovic Courtès's avatar
      Add '.guix-authorizations'. · c91e27c6
      Ludovic Courtès authored
      * .guix-authorizations: New file.
      c91e27c6
  2. May 03, 2020
Loading