<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>10150</bug_id>
          
          <creation_ts>2016-08-16 09:25:15 +0000</creation_ts>
          <short_desc>Allow per-feed signature verification</short_desc>
          <delta_ts>2016-11-23 20:05:36 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>opkg</product>
          <component>opkg</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>0.3.4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ioan-Adrian Ratiu">adrian.ratiu</reporter>
          <assigned_to name="Alejandro del Castillo">alejandro.delcastillo</assigned_to>
          
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Yes (doc changes required)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>65220</commentid>
    <comment_count>0</comment_count>
    <who name="Ioan-Adrian Ratiu">adrian.ratiu</who>
    <bug_when>2016-08-16 09:25:15 +0000</bug_when>
    <thetext>Right now opkg signature verification happens globally for all feeds, with an on/off switch &apos;option check_signature 0/1&apos;. It might be useful to be able to enable/disable signature checking on a per-feed basis, to have something like a core feed which is verified and additional feeds which are not.

An interesting problem is how does the attack surface vary if one feed&apos;s signature is checked while another feed&apos;s is not. Can an unsigned feed packages override core packages? Because if something like this can happen then disabling feed signatures for one feed is like disabling for all. Perhaps this is why there is no per-feed signature verification in opkg and it makes sense to keep it this way?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67810</commentid>
    <comment_count>1</comment_count>
    <who name="Alejandro del Castillo">alejandro.delcastillo</who>
    <bug_when>2016-10-31 22:49:43 +0000</bug_when>
    <thetext>Debian already have the concept of trusted feeds. By setting a feed to &quot;trusted&quot; you are explicitly saying that you are OK bypassing security checks:

deb [trusted=yes] http://localmachine/debian wheezy main

I am OK implementing something similar on opkg.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68551</commentid>
    <comment_count>2</comment_count>
    <who name="Alejandro del Castillo">alejandro.delcastillo</who>
    <bug_when>2016-11-23 20:05:36 +0000</bug_when>
    <thetext>implemented on 7a8c2f62c758c062a9b545caf9e941e79f80a2b4</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>