X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmoonshot-local-flat-file-store.vala;h=8e4db0aedc24e491aca33b456cfa640dc0510ef4;hb=d260dd08a0d245dd2e2c3c500393735982f38139;hp=0946316a6cd63771970c4b4cd473641c62898972;hpb=3070990ebff578c309fd53126aa9d1c252ce2d95;p=moonshot-ui.git diff --git a/src/moonshot-local-flat-file-store.vala b/src/moonshot-local-flat-file-store.vala index 0946316..8e4db0a 100644 --- a/src/moonshot-local-flat-file-store.vala +++ b/src/moonshot-local-flat-file-store.vala @@ -111,7 +111,7 @@ public class LocalFlatFileStore : Object, IIdentityCardStore { } // Trust anchor - id_card.trust_anchor.ca_cert = key_file.get_string (identity, "CA-Cert"); + id_card.trust_anchor.ca_cert = key_file.get_string (identity, "CA-Cert").strip(); id_card.trust_anchor.subject = key_file.get_string (identity, "Subject"); id_card.trust_anchor.subject_alt = key_file.get_string (identity, "SubjectAlt"); id_card.trust_anchor.server_cert = key_file.get_string (identity, "ServerCert");