]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
Instant-MFC r286933:
authordelphij <delphij@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 19 Aug 2015 18:33:25 +0000 (18:33 +0000)
committerdelphij <delphij@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 19 Aug 2015 18:33:25 +0000 (18:33 +0000)
commit002dbae0269e945faf57697461f6cfa529bb6e23
treeb7569606e9e97e9fd3f7b0794ee126dde3d823b3
parent6041c98f2a6dbf30e0e6636f039d6a04bb7255b0
Instant-MFC r286933:

Issue warning and refuse to proceed further if the configured
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.

git-svn-id: svn://svn.freebsd.org/base/stable/9@286936 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
usr.sbin/pkg/pkg.c