Bug 35309 - cert-sync output message glitch
Summary: cert-sync output message glitch
Status: NEW
Alias: None
Product: Class Libraries
Classification: Mono
Component: Mono.Security ()
Version: 4.0.0
Hardware: PC Linux
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2015-10-27 15:35 UTC by Hin-Tak Leung
Modified: 2015-10-28 00:40 UTC (History)
1 user (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report for Bug 35309 on GitHub or Developer Community if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: GitHub Markdown or Developer Community HTML
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:
Status:
NEW

Description Hin-Tak Leung 2015-10-27 15:35:35 UTC
I assume this is a rather trivial mistake of forgetting to put a variable at the end of a Console.WriteLine('... {0}', missing_arg) ? Doing this on Fedora 23:

4.0.4.1 Cycle 5 – Service Release 4

$ cert-sync /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem
Linux Cert Store Sync - version 4.0.4.0
Synchronize local certs with certs from local Linux trust store.
Copyright 2002, 2003 Motus Technologies. Copyright 2004-2008 Novell. BSD licensed.

I already trust 0, your new list has 167
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
Warning: Could not import {0}
167 new root certificates were added to your trust store.
Import process completed.
Comment 1 Hin-Tak Leung 2015-10-28 00:40:18 UTC
Found that the problem was already fixed in master 4 weeks ago:

commit 599483203c75b95a182554305ba7c51b642fb904
Author: Adam Burgess <AdamBurgess@users.noreply.github.com>
Date:   Wed Sep 30 22:20:39 2015 +1000

    [Tools] Fix formatting in cert-sync

But the fix is not in 
mono-4.0.0-branch nor 
mono-4.2.0-branch . Could somebody pull this in the branches? It is simple enough.