X-Git-Url: http://www.project-moonshot.org/gitweb/?p=moonshot-ui.git;a=blobdiff_plain;f=src%2Fmoonshot-id.vala;fp=src%2Fmoonshot-id.vala;h=dec67778a430233b755be6fed1a6c3fe37eb3ab4;hp=3a0f960165abb61e245a3144451521e5bd075d22;hb=dd16b8216254049d68d333a75105b0f103011ae2;hpb=4769d205d26666af11c7d62d246115f4d46bd82b diff --git a/src/moonshot-id.vala b/src/moonshot-id.vala index 3a0f960..dec6777 100644 --- a/src/moonshot-id.vala +++ b/src/moonshot-id.vala @@ -66,6 +66,13 @@ public class TrustAnchor : Object // If we're reading from store, this will be overridden (see set_datetime_added) _datetime_added = ""; + + // Work around a Portal bug that littered some credential files with this cruft. + string cruft = +""""""; + _ca_cert = _ca_cert.replace(cruft, ""); + stdout.printf("ca_cert is now " + _ca_cert + "\n"); } public TrustAnchor.empty() {