sm-discuss AT lists.ibiblio.org
Subject: Public SourceMage Discussion List
List archive
- From: Arwed von Merkatz <v.merkatz AT gmx.net>
- To: sm-discuss AT lists.ibiblio.org
- Subject: Re: [SM-Discuss] Spell Signing . . .
- Date: Thu, 13 Oct 2005 19:36:35 +0200
On Thu, Oct 13, 2005 at 06:46:13PM +0200, Arwed von Merkatz wrote:
> On Thu, Oct 13, 2005 at 08:31:07AM -0700, Jason Flatt wrote:
> > Hello, folks.
> >
> > I have an update to the openoffice2-bin spell in the z-rejected grimoire
> > ready
> > to submit. The only problems are that my GPG key is not in that keyring
> > and
> > I don't remember the command sequence for getting it there, I don't know
> > what
> > the correct command sequence is for creating the alternative sha512 hash,
> > and
> > the Web site, with that information readily available, is not so
> > available.
> >
> > Would someone please post to this list the methods for doing those things
> > so
> > that I may update the spell and the keyring, and so that I may find those
> > methods later if I get into this situation again? Thanks.
>
> To import your gpg key into the grimoire keyring:
> p4 edit gurus.gpg
> gpg --export $KEY | gpg --import --no-default-keyring --keyring \
> /path/to/gurus.gpg
I forgot to add, you should use a RSA pgp key for this so you can use
SHA512 digests in your signatures. Here's the function I have in my
~/.bashrc to create the signatures:
gurusign() { (
local FILE="$1"
local NAME="$(basename $1)"
local SIG="./$NAME.sig"
gpg -o "$SIG" --default-key BCD6570E --personal-digest-preference SHA512
--detach-sign "$FILE"
) }
Replace BCD6570E with whatever your key ID is :)
You can give it any path and the signature file will end up in the
current directory.
> To create the hash you have several options:
> 1) sha512sum from the hashsum spell
> 2) openssl >= 0.9.8: openssl dgst -sha512 $FILE
> 3) with gnupg:
> gpg --print-md sha512 $FILE
> that doesn't give the output in the format we want though, here's what I
> use:
> gpg --print-md sha512 $FILE | tr [A-Z] [a-z] | tr \\n ' ' | tr -d ' ' |
> cut -d: -f2
>
> --
> Arwed v. Merkatz Source Mage GNU/Linux
> developer
>
> http://www.sourcemage.org
> _______________________________________________
> SM-Discuss mailing list
> SM-Discuss AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/sm-discuss
>
--
Arwed v. Merkatz Source Mage GNU/Linux developer
http://www.sourcemage.org
-
[SM-Discuss] Spell Signing . . .,
Jason Flatt, 10/13/2005
- Re: [SM-Discuss] Spell Signing . . ., Treeve Jelbert, 10/13/2005
-
Re: [SM-Discuss] Spell Signing . . .,
Arwed von Merkatz, 10/13/2005
-
Re: [SM-Discuss] Spell Signing . . .,
Arwed von Merkatz, 10/13/2005
- Re: [SM-Discuss] Spell Signing . . ., Jason Flatt, 10/14/2005
-
Re: [SM-Discuss] Spell Signing . . .,
Arwed von Merkatz, 10/13/2005
- Re: [SM-Discuss] Spell Signing . . ., Jeremy Blosser (emrys), 10/13/2005
Archive powered by MHonArc 2.6.24.