]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
Instant-MFC r286933:
authordelphij <delphij@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 19 Aug 2015 18:32:36 +0000 (18:32 +0000)
committerdelphij <delphij@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 19 Aug 2015 18:32:36 +0000 (18:32 +0000)
commit6b25fc86142e1506648805408dffb7efa5c5cc34
tree54d8ae5a2cd1f6105d5a65262f8ce3c84cf9aefe
parent595f46d9ca794d1e1e22a77a9bd2b9bad936bf7a
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/10@286935 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
usr.sbin/pkg/pkg.c