[build2] Cannot suppress query to trust certificate

Gerriet.Reents at btc-ag.com Gerriet.Reents at btc-ag.com
Tue Aug 7 08:19:44 UTC 2018


Hello Boris,

I'm trying to automate my build of odb with build2 0.8.0 on windows. At some step I am calling bpkg like this:

bpkg -d mingw cc config.cxx=g++ config.install.root=<somepath>

Then I get a prompt from bpkg:

warning: authenticity of the certificate for repository pkg:stage.build2.org cannot be established
certificate is for **stage.build2.org, "Code Synthesis" <stage-admin at build2.org>
certificate SHA256 fingerprint:
37:CE:2C:A5:1D:CF:93:81:D7:07:46:AD:66:B3:C3:90:83:B8:96:9E:34:F0:E7:B3:A2:B0:6C:EF:66:A4:BE:65
trust this certificate? [y/n]

Since I am automating my build, no one can press 'y'. As far as I understood the documentation this should work without the prompt:

bpkg create --trust-yes --trust 37:CE:2C:A5:1D:CF:93:81:D7:07:46:AD:66:B3:C3:90:83:B8:96:9E:34:F0:E7:B3:A2:B0:6C:EF:66:A4:BE:65 -d mingw cc config.cxx=g++ config.install.root=<somepath>

But again I am prompted to trust the repo.

What can I do?

Best regards,
Gerriet

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.build2.org/archives/users/attachments/20180807/ad69c22f/attachment.html>


More information about the users mailing list