<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: debian repository for TWiki</title>
	<atom:link href="http://fosiki.com/blog/2007/04/22/debian-repository-for-twiki/feed/" rel="self" type="application/rss+xml" />
	<link>http://fosiki.com/blog/2007/04/22/debian-repository-for-twiki/</link>
	<description>Sven Dowideit - Consulting Wiki Engineer</description>
	<lastBuildDate>Fri, 05 Feb 2010 12:56:51 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: mrjcleaver</title>
		<link>http://fosiki.com/blog/2007/04/22/debian-repository-for-twiki/comment-page-1/#comment-36</link>
		<dc:creator>mrjcleaver</dc:creator>
		<pubDate>Sun, 09 Nov 2008 17:04:11 +0000</pubDate>
		<guid isPermaLink="false">http://distributedinformation.com/blog/2007/10/06/debian-repository-for-twiki/#comment-36</guid>
		<description>So, that was all a waste of time...

Use the experimental one. The main one is out of date and broken wrt amd-64.

No workarounds needed for experimental.

Except, perhaps, this is likely to be a nightly build. If so, its no use to users wanting a stable released version.</description>
		<content:encoded><![CDATA[<div class='microid-mailto+http:sha1:79a201e6558a3c0e08bfb038c585d035fe5e616c'>So, that was all a waste of time&#8230;</p>
<p>Use the experimental one. The main one is out of date and broken wrt amd-64.</p>
<p>No workarounds needed for experimental.</p>
<p>Except, perhaps, this is likely to be a nightly build. If so, its no use to users wanting a stable released version.</p></div>
]]></content:encoded>
	</item>
	<item>
		<title>By: mrjcleaver</title>
		<link>http://fosiki.com/blog/2007/04/22/debian-repository-for-twiki/comment-page-1/#comment-32</link>
		<dc:creator>mrjcleaver</dc:creator>
		<pubDate>Sun, 09 Nov 2008 16:02:02 +0000</pubDate>
		<guid isPermaLink="false">http://distributedinformation.com/blog/2007/10/06/debian-repository-for-twiki/#comment-32</guid>
		<description>Sven - can you update this page to show what we are supposed to do to import the key?

Anyhow, according to http://martin.feuersaenger.de/2005/12/12/how-can-i-avoid-gpg-errors-with-apt-06-and-above/

If you just want to declare a repository as trusted just run:

gpg –recv-key KEY_ID &amp;&amp; gpg -a –export KEY_ID &#124; apt-key add -

where KEY_ID is a string after NO_PUBKEY. 

So: 

gpg –recv-key 3C0C33BB442B5BE9 &amp;&amp; gpg -a –export 3C0C33BB442B5BE9 &#124; apt-key add -</description>
		<content:encoded><![CDATA[<div class='microid-mailto+http:sha1:79a201e6558a3c0e08bfb038c585d035fe5e616c'>Sven &#8211; can you update this page to show what we are supposed to do to import the key?</p>
<p>Anyhow, according to <a href="http://martin.feuersaenger.de/2005/12/12/how-can-i-avoid-gpg-errors-with-apt-06-and-above/" rel="nofollow">http://martin.feuersaenger.de/2005/12/12/how-can-i-avoid-gpg-errors-with-apt-06-and-above/</a></p>
<p>If you just want to declare a repository as trusted just run:</p>
<p>gpg –recv-key KEY_ID &amp;&amp; gpg -a –export KEY_ID | apt-key add -</p>
<p>where KEY_ID is a string after NO_PUBKEY. </p>
<p>So: </p>
<p>gpg –recv-key 3C0C33BB442B5BE9 &amp;&amp; gpg -a –export 3C0C33BB442B5BE9 | apt-key add -</p></div>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sven Dowideit</title>
		<link>http://fosiki.com/blog/2007/04/22/debian-repository-for-twiki/comment-page-1/#comment-25</link>
		<dc:creator>Sven Dowideit</dc:creator>
		<pubDate>Thu, 09 Oct 2008 06:14:33 +0000</pubDate>
		<guid isPermaLink="false">http://distributedinformation.com/blog/2007/10/06/debian-repository-for-twiki/#comment-25</guid>
		<description>Jim, I&#039;m working on it - expect a 4.2.3 updated package in the next day - thanks for the feedback (and yes, you&#039;re right)</description>
		<content:encoded><![CDATA[<div class='microid-mailto+http:sha1:0d253d267f933b7afde3379e86fe3c5fc84f9a48'>Jim, I&#8217;m working on it &#8211; expect a 4.2.3 updated package in the next day &#8211; thanks for the feedback (and yes, you&#8217;re right)</div>
]]></content:encoded>
	</item>
	<item>
		<title>By: jim.barber</title>
		<link>http://fosiki.com/blog/2007/04/22/debian-repository-for-twiki/comment-page-1/#comment-24</link>
		<dc:creator>jim.barber</dc:creator>
		<pubDate>Tue, 23 Sep 2008 03:39:57 +0000</pubDate>
		<guid isPermaLink="false">http://distributedinformation.com/blog/2007/10/06/debian-repository-for-twiki/#comment-24</guid>
		<description>Actually no it&#039;s not.

Issue 3:

Upon saving the configuration screen it reports that the LoginManager has changed.
The default setting as supplied is:

   $TWiki::cfg{LoginManager} = &#039;TWiki::Client::ApacheLogin&#039;;

After the save it becomes:

   $TWiki::cfg{LoginManager} = &#039;TWiki::LoginManager::ApacheLogin&#039;;

These appear to be the same thing, and the first one isn&#039;t a choice in the drop down list in the configuration page. So I guess this variable should be changed in the default file that is supplied.</description>
		<content:encoded><![CDATA[<div class='microid-mailto+http:sha1:6178263b94755b65e6aa847637f31ca81e8448a0'>Actually no it&#8217;s not.</p>
<p>Issue 3:</p>
<p>Upon saving the configuration screen it reports that the LoginManager has changed.<br />
The default setting as supplied is:</p>
<p>   $TWiki::cfg{LoginManager} = &#8216;TWiki::Client::ApacheLogin&#8217;;</p>
<p>After the save it becomes:</p>
<p>   $TWiki::cfg{LoginManager} = &#8216;TWiki::LoginManager::ApacheLogin&#8217;;</p>
<p>These appear to be the same thing, and the first one isn&#8217;t a choice in the drop down list in the configuration page. So I guess this variable should be changed in the default file that is supplied.</p></div>
]]></content:encoded>
	</item>
	<item>
		<title>By: jim.barber</title>
		<link>http://fosiki.com/blog/2007/04/22/debian-repository-for-twiki/comment-page-1/#comment-23</link>
		<dc:creator>jim.barber</dc:creator>
		<pubDate>Tue, 23 Sep 2008 03:38:08 +0000</pubDate>
		<guid isPermaLink="false">http://distributedinformation.com/blog/2007/10/06/debian-repository-for-twiki/#comment-23</guid>
		<description>I&#039;ve started a fresh new install using the repository as it stands now.
I&#039;ve noticed the following issues:

Issue 1.

Upon running the &#039;configure&#039; script for the first time there are three warnings:

Warning 1:

In the &quot;General Path Settings&quot; section under the &quot;WorkingDir&quot; setting there is the following warning:

Warning: You have an existing {RCS}{WorkAreaDir} (/tmp/twiki), so I have copied the contents of that directory into the new /var/lib/twiki/working/work_areas. You should delete the old /tmp/twiki when you are happy with the upgrade.

It seems to be that in the /etc/twiki/LocalSite.cfg file, the default value for $TWiki::cfg{WorkingDir} is &#039;/tmp/twiki&#039;. But this has been changed to &#039;/var/lib/twiki/working&#039; (which is fine). However there are also the variables $TWiki::cfg{RCS}{WorkAreaDir} and $TWiki::cfg{TempfileDir} that are still set to &#039;/tmp/twiki&#039;. Maybe these should be set to the following instead?

   $TWiki::cfg{RCS}{WorkAreaDir} = &#039;/var/lib/twiki/working/work_areas&#039;;
   $TWiki::cfg{TempfileDir} = &#039;/var/lib/twiki/working/tmp&#039;;

Does that look right?

Warning 2:

Under the &quot;Security setup&quot; section under the &quot;SafeEnvPath&quot; setting I get the following warning:

Warning: You should set a value for this path if there is any risk at all of your site being hacked.

I&#039;m not sure if the SafeEnvPath setting should be left blank or not? Maybe we should have something like the following?:

   $TWiki::cfg{SafeEnvPath} = &#039;/usr/bin:/bin&#039;;

Warning 3:

Under the &quot;Mail and Proxies&quot; section under the &quot;WebMasterEmail&quot; I get the following warning:

Warning: Please make sure you enter the e-mail address of the webmaster. This is required for registration to work.

The WebMasterEmail is blank, even though at install time I was asked to enter a value for this via debconf. Should the $TWiki::cfg{WebMasterEmail} variable be defined in the LocalSite.cfg file and set to what you specified at install time?

Issue 2.

When I go to save the changes in the configure script, I need to set a password first.

It could be fine as it is...
But should the $TWiki::cfg{Password} be set in the LocalSite.cfg file and set to the same password that you defined for the administrative user as asked by debconf?

That&#039;s it for now.</description>
		<content:encoded><![CDATA[<div class='microid-mailto+http:sha1:6178263b94755b65e6aa847637f31ca81e8448a0'>I&#8217;ve started a fresh new install using the repository as it stands now.<br />
I&#8217;ve noticed the following issues:</p>
<p>Issue 1.</p>
<p>Upon running the &#8216;configure&#8217; script for the first time there are three warnings:</p>
<p>Warning 1:</p>
<p>In the &#8220;General Path Settings&#8221; section under the &#8220;WorkingDir&#8221; setting there is the following warning:</p>
<p>Warning: You have an existing {RCS}{WorkAreaDir} (/tmp/twiki), so I have copied the contents of that directory into the new /var/lib/twiki/working/work_areas. You should delete the old /tmp/twiki when you are happy with the upgrade.</p>
<p>It seems to be that in the /etc/twiki/LocalSite.cfg file, the default value for $TWiki::cfg{WorkingDir} is &#8216;/tmp/twiki&#8217;. But this has been changed to &#8216;/var/lib/twiki/working&#8217; (which is fine). However there are also the variables $TWiki::cfg{RCS}{WorkAreaDir} and $TWiki::cfg{TempfileDir} that are still set to &#8216;/tmp/twiki&#8217;. Maybe these should be set to the following instead?</p>
<p>   $TWiki::cfg{RCS}{WorkAreaDir} = &#8216;/var/lib/twiki/working/work_areas&#8217;;<br />
   $TWiki::cfg{TempfileDir} = &#8216;/var/lib/twiki/working/tmp&#8217;;</p>
<p>Does that look right?</p>
<p>Warning 2:</p>
<p>Under the &#8220;Security setup&#8221; section under the &#8220;SafeEnvPath&#8221; setting I get the following warning:</p>
<p>Warning: You should set a value for this path if there is any risk at all of your site being hacked.</p>
<p>I&#8217;m not sure if the SafeEnvPath setting should be left blank or not? Maybe we should have something like the following?:</p>
<p>   $TWiki::cfg{SafeEnvPath} = &#8216;/usr/bin:/bin&#8217;;</p>
<p>Warning 3:</p>
<p>Under the &#8220;Mail and Proxies&#8221; section under the &#8220;WebMasterEmail&#8221; I get the following warning:</p>
<p>Warning: Please make sure you enter the e-mail address of the webmaster. This is required for registration to work.</p>
<p>The WebMasterEmail is blank, even though at install time I was asked to enter a value for this via debconf. Should the $TWiki::cfg{WebMasterEmail} variable be defined in the LocalSite.cfg file and set to what you specified at install time?</p>
<p>Issue 2.</p>
<p>When I go to save the changes in the configure script, I need to set a password first.</p>
<p>It could be fine as it is&#8230;<br />
But should the $TWiki::cfg{Password} be set in the LocalSite.cfg file and set to the same password that you defined for the administrative user as asked by debconf?</p>
<p>That&#8217;s it for now.</p></div>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sven Dowideit</title>
		<link>http://fosiki.com/blog/2007/04/22/debian-repository-for-twiki/comment-page-1/#comment-22</link>
		<dc:creator>Sven Dowideit</dc:creator>
		<pubDate>Thu, 11 Sep 2008 10:07:58 +0000</pubDate>
		<guid isPermaLink="false">http://distributedinformation.com/blog/2007/10/06/debian-repository-for-twiki/#comment-22</guid>
		<description>gosh I hope there is a better option - I&#039;ll play with --use-agent some time.

mind you - there is also the real security concern that any packages that are automatically built should be considered more suspect than a set that have had some &#039;intentional&#039; work done on them - so there might be the other option - make a unsafe_may_burn@your village.com gpg keyset with no passphrase and use that?

wrt distributedinformation.com vs fosiki.com, doesn&#039;t really matter for now - I&#039;m likely to keep both because lots of my contributions out in the wild will have the &#039;omg thats long&#039; domain on them.</description>
		<content:encoded><![CDATA[<div class='microid-mailto+http:sha1:0d253d267f933b7afde3379e86fe3c5fc84f9a48'>gosh I hope there is a better option &#8211; I&#8217;ll play with &#8211;use-agent some time.</p>
<p>mind you &#8211; there is also the real security concern that any packages that are automatically built should be considered more suspect than a set that have had some &#8216;intentional&#8217; work done on them &#8211; so there might be the other option &#8211; make a unsafe_may_burn@your village.com gpg keyset with no passphrase and use that?</p>
<p>wrt distributedinformation.com vs fosiki.com, doesn&#8217;t really matter for now &#8211; I&#8217;m likely to keep both because lots of my contributions out in the wild will have the &#8216;omg thats long&#8217; domain on them.</p></div>
]]></content:encoded>
	</item>
	<item>
		<title>By: jim.barber</title>
		<link>http://fosiki.com/blog/2007/04/22/debian-repository-for-twiki/comment-page-1/#comment-21</link>
		<dc:creator>jim.barber</dc:creator>
		<pubDate>Thu, 11 Sep 2008 07:36:14 +0000</pubDate>
		<guid isPermaLink="false">http://distributedinformation.com/blog/2007/10/06/debian-repository-for-twiki/#comment-21</guid>
		<description>Somecallmecheif.

The gpgp instructions are for Sven to sign the Releases file with.
It is up to the repository maintainer to do this, not the end user.
All the end user needs to do is import the key using apt-key so that they trust the signatures.

Sven.

The passphrase thing is a pain. :(
I had a quick hunt around but didn&#039;t find any brilliant answers.
Here are some dodgy ways that you could perhaps automate the passphrase entry but you&#039;d want to really lock down the scripts and/or files (and/or system) involved. Storing your passphrase on the computer isn&#039;t the best idea... But here we go anyway:

1. Pass in the passphrase on stdin (file descriptor 0):

   # echo &quot;passphrase&quot; &#124; gpg --passphrase-fd 0 --sign -ba Release.gpg Release

2. Store the passphrase in a file only readable by the user doing the signing and use that:

   # gpg --passphrase-file /path/to/passphrase_file --sign -ba Release.gpg Release

3. Pass the passphrase in as a command line parameter:

   # gpg --passphrase passphrase --sign -ba Release.gpg Release

4. Another possible option is to install and configure gnupg-agent and then use the --use-agent command line option of gpg when signing. But I&#039;m not sure if you can get the gnupg-agent to indefinitely cache your passphrase or not, so it might not be a good option.

I&#039;m not sure if anyone else knows a better approach?

Also I have a question.
Do we still use:

  deb http://distributedinformation.com/debian/ blah...

Or should we convert over to the following?:

  deb http://fosiki.com/debian/ blah...</description>
		<content:encoded><![CDATA[<div class='microid-mailto+http:sha1:6178263b94755b65e6aa847637f31ca81e8448a0'>Somecallmecheif.</p>
<p>The gpgp instructions are for Sven to sign the Releases file with.<br />
It is up to the repository maintainer to do this, not the end user.<br />
All the end user needs to do is import the key using apt-key so that they trust the signatures.</p>
<p>Sven.</p>
<p>The passphrase thing is a pain. <img src='http://fosiki.com/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /><br />
I had a quick hunt around but didn&#8217;t find any brilliant answers.<br />
Here are some dodgy ways that you could perhaps automate the passphrase entry but you&#8217;d want to really lock down the scripts and/or files (and/or system) involved. Storing your passphrase on the computer isn&#8217;t the best idea&#8230; But here we go anyway:</p>
<p>1. Pass in the passphrase on stdin (file descriptor 0):</p>
<p>   # echo &#8220;passphrase&#8221; | gpg &#8211;passphrase-fd 0 &#8211;sign -ba Release.gpg Release</p>
<p>2. Store the passphrase in a file only readable by the user doing the signing and use that:</p>
<p>   # gpg &#8211;passphrase-file /path/to/passphrase_file &#8211;sign -ba Release.gpg Release</p>
<p>3. Pass the passphrase in as a command line parameter:</p>
<p>   # gpg &#8211;passphrase passphrase &#8211;sign -ba Release.gpg Release</p>
<p>4. Another possible option is to install and configure gnupg-agent and then use the &#8211;use-agent command line option of gpg when signing. But I&#8217;m not sure if you can get the gnupg-agent to indefinitely cache your passphrase or not, so it might not be a good option.</p>
<p>I&#8217;m not sure if anyone else knows a better approach?</p>
<p>Also I have a question.<br />
Do we still use:</p>
<p>  deb <a href="http://distributedinformation.com/debian/" rel="nofollow">http://distributedinformation.com/debian/</a> blah&#8230;</p>
<p>Or should we convert over to the following?:</p>
<p>  deb <a href="http://fosiki.com/debian/" rel="nofollow">http://fosiki.com/debian/</a> blah&#8230;</div>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sven Dowideit</title>
		<link>http://fosiki.com/blog/2007/04/22/debian-repository-for-twiki/comment-page-1/#comment-20</link>
		<dc:creator>Sven Dowideit</dc:creator>
		<pubDate>Mon, 08 Sep 2008 09:41:12 +0000</pubDate>
		<guid isPermaLink="false">http://distributedinformation.com/blog/2007/10/06/debian-repository-for-twiki/#comment-20</guid>
		<description>Sorry guys, It turns out that because I rebuild the packages from twiki.org every night while I sleep, and automatically add them to the debian repository, the signing thing isn&#039;t going to work out in the short term - it requires me to type in my passkey - and so isn&#039;t suitable for unattended use.

wrt amd64 - thats a bit weird, as they are built on an amd64 machine, and I _thought_ they were noarch. toss another stick on my todos :/</description>
		<content:encoded><![CDATA[<div class='microid-mailto+http:sha1:775141182316c4ff6310815611a2b5d5ee47d7da'>Sorry guys, It turns out that because I rebuild the packages from twiki.org every night while I sleep, and automatically add them to the debian repository, the signing thing isn&#8217;t going to work out in the short term &#8211; it requires me to type in my passkey &#8211; and so isn&#8217;t suitable for unattended use.</p>
<p>wrt amd64 &#8211; thats a bit weird, as they are built on an amd64 machine, and I _thought_ they were noarch. toss another stick on my todos :/</p></div>
]]></content:encoded>
	</item>
	<item>
		<title>By: somecallmechief</title>
		<link>http://fosiki.com/blog/2007/04/22/debian-repository-for-twiki/comment-page-1/#comment-19</link>
		<dc:creator>somecallmechief</dc:creator>
		<pubDate>Thu, 04 Sep 2008 17:00:43 +0000</pubDate>
		<guid isPermaLink="false">http://distributedinformation.com/blog/2007/10/06/debian-repository-for-twiki/#comment-19</guid>
		<description>To further clarify, I did these two steps:

gpg --keyserver the.earth.li --recv-keys 3C0C33BB442B5BE9
apt-key add /root/.gnupg/pubring.gpg

Which didn&#039;t work.  So, I followed the advice at Jim Barber&#039;s post:

gpg –sign -ba Release.gpg Release 

Which returns this error:

gpg: no default secret key: secret key not available
gpg: signing failed: secret key not available

And with only the stable repos added, I&#039;m stuck at this error after #sudo apt-get update

W: GPG error: http://distributedinformation.com stable Release: The following signatures couldn&#039;t be verified because the public key is not available: NO_PUBKEY 3C0C33BB442B5BE9
W: You may want to run apt-get update to correct these problems

The previous error was on an amd64 system, and there obviously aren&#039;t any 64 bit binaries, so I&#039;m on a 32 bit system now with one less error message.</description>
		<content:encoded><![CDATA[<div class='microid-mailto+http:sha1:280b810d99c6d7da93aadea4d6d802ffcd387390'>To further clarify, I did these two steps:</p>
<p>gpg &#8211;keyserver the.earth.li &#8211;recv-keys 3C0C33BB442B5BE9<br />
apt-key add /root/.gnupg/pubring.gpg</p>
<p>Which didn&#8217;t work.  So, I followed the advice at Jim Barber&#8217;s post:</p>
<p>gpg –sign -ba Release.gpg Release </p>
<p>Which returns this error:</p>
<p>gpg: no default secret key: secret key not available<br />
gpg: signing failed: secret key not available</p>
<p>And with only the stable repos added, I&#8217;m stuck at this error after #sudo apt-get update</p>
<p>W: GPG error: <a href="http://distributedinformation.com" rel="nofollow">http://distributedinformation.com</a> stable Release: The following signatures couldn&#8217;t be verified because the public key is not available: NO_PUBKEY 3C0C33BB442B5BE9<br />
W: You may want to run apt-get update to correct these problems</p>
<p>The previous error was on an amd64 system, and there obviously aren&#8217;t any 64 bit binaries, so I&#8217;m on a 32 bit system now with one less error message.</p></div>
]]></content:encoded>
	</item>
	<item>
		<title>By: somecallmechief</title>
		<link>http://fosiki.com/blog/2007/04/22/debian-repository-for-twiki/comment-page-1/#comment-18</link>
		<dc:creator>somecallmechief</dc:creator>
		<pubDate>Thu, 04 Sep 2008 16:13:29 +0000</pubDate>
		<guid isPermaLink="false">http://distributedinformation.com/blog/2007/10/06/debian-repository-for-twiki/#comment-18</guid>
		<description>I&#039;m something of a newb when it comes to this stuff, but after following the directions above; I&#039;m still getting these errors:

W: GPG error: http://distributedinformation.com experimental Release: The following signatures were invalid: BADSIG 3C0C33BB442B5BE9 Sven Dowideit 
W: Failed to fetch http://distributedinformation.com/debian/dists/stable/Release  Unable to find expected entry  main/binary-amd64/Packages in Meta-index file (malformed Release file?)

I&#039;ve read through the comments and the link to SecureApt, but I&#039;m still coming up short.  Any advice would be appreciated.

So, I</description>
		<content:encoded><![CDATA[<div class='microid-mailto+http:sha1:280b810d99c6d7da93aadea4d6d802ffcd387390'>I&#8217;m something of a newb when it comes to this stuff, but after following the directions above; I&#8217;m still getting these errors:</p>
<p>W: GPG error: <a href="http://distributedinformation.com" rel="nofollow">http://distributedinformation.com</a> experimental Release: The following signatures were invalid: BADSIG 3C0C33BB442B5BE9 Sven Dowideit<br />
W: Failed to fetch <a href="http://distributedinformation.com/debian/dists/stable/Release" rel="nofollow">http://distributedinformation.com/debian/dists/stable/Release</a>  Unable to find expected entry  main/binary-amd64/Packages in Meta-index file (malformed Release file?)</p>
<p>I&#8217;ve read through the comments and the link to SecureApt, but I&#8217;m still coming up short.  Any advice would be appreciated.</p>
<p>So, I</p></div>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic page generated in 0.604 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2010-02-09 09:05:05 -->
