[MacPorts] archives modified

MacPorts noreply at macports.org
Tue Jun 22 06:29:22 PDT 2010


Changed page "archives" by snc at macports.org from 98.216.103.178*
Page URL: <http://trac.macports.org/wiki/archives>
Diff URL: <http://trac.macports.org/wiki/archives?action=diff&version=2>
Revision 2

-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: archives
=========================================================================
--- archives (version: 1)
+++ archives (version: 2)
@@ -9,10 +9,6 @@
 openssl genrsa -des3 -out privkey.pem 2048
 openssl rsa -in privkey.pem -pubout -out pubkey.pem
 }}}
-Then sign the archives like this:
-{{{
-openssl dgst -ripemd160 -sign privkey.pem -out archive.tbz2.rmd160 archive.tbz2
-}}}
 
 Be sure to add this key to your ssh keyring or you'll get asked for the password each time it's used. Another alternative is it save it as an unencrypted key, like so:
 {{{
@@ -20,6 +16,11 @@
 }}}
 
  = Sign Packages =
+Then sign the archives like this:
+{{{
+openssl dgst -ripemd160 -sign privkey.pem -out archive.tbz2.rmd160 archive.tbz2
+}}}
+
 If you have lots of archives to sign, this can be done via a for loop in your shell. Here I use bash:
 {{{
 for i in *tbz2; do openssl dgst -ripemd160 -sign ~/.ssh/privkey.pem.bare -out $i.rmd160 $i; done

-------8<------8<------8<------8<------8<------8<------8<------8<--------

* The IP shown here might not mean anything if the user or the server is
behind a proxy.

--
MacPorts <http://www.macports.org/>
Ports system for Mac OS

This is an automated message. Someone at http://www.macports.org/ added your email
address to be notified of changes on archives. If it was not you, please
report to .


More information about the macports-changes mailing list