<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/usr.sbin/pkg/pkg.c, branch upstream/11.1.0</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>Remove extra debug that crept in</title>
<updated>2015-09-08T22:24:20+00:00</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2015-09-08T22:24:20+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=4c79e0d6c177743db3631629aa8a6eead3644ad4'/>
<id>4c79e0d6c177743db3631629aa8a6eead3644ad4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Implement pubkey support for the bootstrap</title>
<updated>2015-09-08T21:25:36+00:00</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2015-09-08T21:25:36+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=61acb4582f75158bd8118a63258ed19524e32357'/>
<id>61acb4582f75158bd8118a63258ed19524e32357</id>
<content type='text'>
Note that to not interfer with finger print it expects a signature on pkg itself
which is named pkg.txz.pubkeysign

To genrate it:
echo -n "$(sha256 -q pkg.txz)" | openssl dgst -sha256 -sign /thekey \
    -binary -out ./pkg.txz.pubkeysig

Note the "echo -n" which prevent signing the '\n' one would get otherwise

PR:		202622
MFC after:	1 week
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Note that to not interfer with finger print it expects a signature on pkg itself
which is named pkg.txz.pubkeysign

To genrate it:
echo -n "$(sha256 -q pkg.txz)" | openssl dgst -sha256 -sign /thekey \
    -binary -out ./pkg.txz.pubkeysig

Note the "echo -n" which prevent signing the '\n' one would get otherwise

PR:		202622
MFC after:	1 week
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix indentation, no functional changes</title>
<updated>2015-09-08T19:25:15+00:00</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2015-09-08T19:25:15+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=b50756c7599cd98ba90abc1adac357a5d1ed5126'/>
<id>b50756c7599cd98ba90abc1adac357a5d1ed5126</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue warning and refuse to proceed further if the configured</title>
<updated>2015-08-19T18:24:39+00:00</updated>
<author>
<name>Xin LI</name>
<email>delphij@FreeBSD.org</email>
</author>
<published>2015-08-19T18:24:39+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=48f92706898f2cd5f8eaa6161b42433eca114cdf'/>
<id>48f92706898f2cd5f8eaa6161b42433eca114cdf</id>
<content type='text'>
repository signature_type is unsupported by bootstrap pkg(7).

Previously, when signature_type specified an unsupported method,
the bootstrap pkg(7) would proceed like when signature_type is
"none".  MITM attackers may be able to use this vulnerability and
bypass validation and install their own versions of pkg(8).

At this time, only fingerprint and none are supported by the
bootstrap pkg(7).

FreeBSD's official pkg(8) repository uses the fingerprint method
and is therefore unaffected.

Errata candidate.

Discussed with:	bapt@
Submitted by:	Fabian Keil
Obtained from:	ElectroBSD
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
repository signature_type is unsupported by bootstrap pkg(7).

Previously, when signature_type specified an unsupported method,
the bootstrap pkg(7) would proceed like when signature_type is
"none".  MITM attackers may be able to use this vulnerability and
bypass validation and install their own versions of pkg(8).

At this time, only fingerprint and none are supported by the
bootstrap pkg(7).

FreeBSD's official pkg(8) repository uses the fingerprint method
and is therefore unaffected.

Errata candidate.

Discussed with:	bapt@
Submitted by:	Fabian Keil
Obtained from:	ElectroBSD
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow fetching pkg(8) even if servers/proxies are not passing Content-length</title>
<updated>2015-04-03T17:35:30+00:00</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2015-04-03T17:35:30+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=cc36fe49264ebb9782cc177227a8b7cecd1bf3f5'/>
<id>cc36fe49264ebb9782cc177227a8b7cecd1bf3f5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Test the return of fetchParseURL(3)</title>
<updated>2015-02-04T00:18:06+00:00</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2015-02-04T00:18:06+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=79fe80ef1084ced4d21aa303f1ad5f5db5b6b872'/>
<id>79fe80ef1084ced4d21aa303f1ad5f5db5b6b872</id>
<content type='text'>
CID:		1125811
MFC after:	1 week
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
CID:		1125811
MFC after:	1 week
</pre>
</div>
</content>
</entry>
<entry>
<title>Plug resources leak</title>
<updated>2015-02-04T00:10:57+00:00</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2015-02-04T00:10:57+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=92947daacfb681797cd651a77b8c8d6cab3b8487'/>
<id>92947daacfb681797cd651a77b8c8d6cab3b8487</id>
<content type='text'>
CID:		1125813
CID:		1125807
CID:		1125808
MFC after:	1 week
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
CID:		1125813
CID:		1125807
CID:		1125808
MFC after:	1 week
</pre>
</div>
</content>
</entry>
<entry>
<title>When we fail to extract the pkg binaries (for example, / is read-only),</title>
<updated>2014-07-16T00:12:57+00:00</updated>
<author>
<name>Gavin Atkinson</name>
<email>gavin@FreeBSD.org</email>
</author>
<published>2014-07-16T00:12:57+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=4622bc4e31f19430847e9e8aa96371d9fe4961ee'/>
<id>4622bc4e31f19430847e9e8aa96371d9fe4961ee</id>
<content type='text'>
give a more helpful error message.

MFC after:	1 week
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
give a more helpful error message.

MFC after:	1 week
</pre>
</div>
</content>
</entry>
<entry>
<title>Import libucl 0.4.0</title>
<updated>2014-04-22T22:02:06+00:00</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2014-04-22T22:02:06+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=b04a7a0baf6523245034b8ccd06cd0176b8a18cf'/>
<id>b04a7a0baf6523245034b8ccd06cd0176b8a18cf</id>
<content type='text'>
Adapt pkg(7) to the new libucl API
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Adapt pkg(7) to the new libucl API
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove a useless newline, warnx already appends a newline</title>
<updated>2014-02-23T23:49:10+00:00</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2014-02-23T23:49:10+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=d8cfb94376e408ba12d6d16be2635093108d218d'/>
<id>d8cfb94376e408ba12d6d16be2635093108d218d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
