<p>I ended up storing lead/sig/header in the ostree commit, then checking it out as a tempfile and passing it back to librpm.  So we can close this.</p>

<p>Long term, I think what I really want is to make <code>rpmdbOpen</code> and <code>rpmdbAdd</code> public.  Then I can stay out of the business of writing to the db and dealing with berkeleydb, but know I have total control over everything else.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/rpm-software-management/rpm/pull/52#issuecomment-174322177">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ANb808jEAu-uJ9JSTq4HXv22h7dfqPpOks5pdQKggaJpZM4HKC9D.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/rpm-software-management/rpm/pull/52#issuecomment-174322177"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>