-
Notifications
You must be signed in to change notification settings - Fork 0
/
converting-protonmails-vcf-files-to-import-to-phone.html
264 lines (215 loc) · 10.9 KB
/
converting-protonmails-vcf-files-to-import-to-phone.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="HandheldFriendly" content="True" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="robots" content="index, follow" />
<link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:ital,wght@0,400;0,700;1,400&family=Source+Sans+Pro:ital,wght@0,300;0,400;0,700;1,400&display=swap" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="https://www.evandowning.com/theme/stylesheet/style.min.css">
<link id="dark-theme-style" rel="stylesheet" type="text/css"
media="(prefers-color-scheme: dark)"
href="https://www.evandowning.com/theme/stylesheet/dark-theme.min.css">
<link id="pygments-dark-theme" rel="stylesheet" type="text/css"
media="(prefers-color-scheme: dark)"
href="https://www.evandowning.com/theme/pygments/monokai.min.css">
<link id="pygments-light-theme" rel="stylesheet" type="text/css"
media="(prefers-color-scheme: light), (prefers-color-scheme: no-preference)"
href="https://www.evandowning.com/theme/pygments/monokai.min.css">
<link rel="stylesheet" type="text/css" href="https://www.evandowning.com/theme/font-awesome/css/fontawesome.css">
<link rel="stylesheet" type="text/css" href="https://www.evandowning.com/theme/font-awesome/css/brands.css">
<link rel="stylesheet" type="text/css" href="https://www.evandowning.com/theme/font-awesome/css/solid.css">
<link rel="stylesheet" type="text/css" href="https://www.evandowning.com/static/custom.css">
<link rel="shortcut icon" href="https://www.evandowning.com/images/favicon.ico" type="image/x-icon">
<link rel="icon" href="https://www.evandowning.com/images/favicon.ico" type="image/x-icon">
<!-- Chrome, Firefox OS and Opera -->
<meta name="theme-color" content="#333333">
<!-- Windows Phone -->
<meta name="msapplication-navbutton-color" content="#333333">
<!-- iOS Safari -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<!-- Microsoft EDGE -->
<meta name="msapplication-TileColor" content="#333333">
<link href="https://www.evandowning.com/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Evan Downing Atom">
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-C0W4PHDF8Y"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-C0W4PHDF8Y');
</script>
<meta name="author" content="Evan Downing" />
<meta name="description" content="Introduction Protonmail captured my interest a few years ago as privacy-focused alternative to Gmail. But one of the problems I faced was my dependence on Google's Contacts service which kept all of my contacts for me stored on my Android device. I wanted to move away from this as well …" />
<meta name="keywords" content="protonmail, vcf">
<meta property="og:site_name" content="Evan Downing"/>
<meta property="og:title" content="Converting Protonmail's VCF files to import to phone"/>
<meta property="og:description" content="Introduction Protonmail captured my interest a few years ago as privacy-focused alternative to Gmail. But one of the problems I faced was my dependence on Google's Contacts service which kept all of my contacts for me stored on my Android device. I wanted to move away from this as well …"/>
<meta property="og:locale" content="en_US"/>
<meta property="og:url" content="https://www.evandowning.com/converting-protonmails-vcf-files-to-import-to-phone.html"/>
<meta property="og:type" content="article"/>
<meta property="article:published_time" content="2019-05-19 00:00:00-04:00"/>
<meta property="article:modified_time" content="2019-05-19 00:00:00-04:00"/>
<meta property="article:author" content="https://www.evandowning.com/author/evan-downing.html">
<meta property="article:section" content="coding-fun"/>
<meta property="article:tag" content="protonmail"/>
<meta property="article:tag" content="vcf"/>
<meta property="og:image" content="https://www.evandowning.com/images/profile.png">
<title>Evan Downing – Converting Protonmail's VCF files to import to phone</title>
</head>
<body >
<aside>
<div>
<a href="https://www.evandowning.com/">
<img src="https://www.evandowning.com/images/profile.png" alt="Evan Downing" title="Evan Downing">
</a>
<h1>
<a href="https://www.evandowning.com/">Evan Downing</a>
</h1>
<p>Cybersecurity Researcher</p>
<nav>
<ul class="list">
<li>
<a target="_self"
href="https://www.evandowning.com/pages/about.html">
About
</a>
</li>
<li>
<a target="_self"
href="https://www.evandowning.com/pages/projects.html">
Projects
</a>
</li>
<li>
<a target="_self" href="https://docs.google.com/document/d/1sKsh88ZiiveotGS-KR4l-vESgfj_U_JifvH6nGat-Wk" >Resume</a>
</li>
<li>
<a target="_self" href="https://docs.google.com/document/d/1UcXkHeRCKpBvlf4KyW92GKjyEeoiPgXGdW7ARPSa2L4" >CV</a>
</li>
</ul>
</nav>
<ul class="social">
<li>
<a class="sc-github"
href="https://github.com/evandowning"
target="_blank">
<i class="fa-brands fa-github"></i>
</a>
</li>
<li>
<a class="sc-google"
href="https://scholar.google.com/citations?user=SnJNwIAAAAAJ&hl=en"
target="_blank">
<i class="fa-brands fa-google"></i>
</a>
</li>
<li>
<a class="sc-linkedin"
href="https://www.linkedin.com/in/evandowning/"
target="_blank">
<i class="fa-brands fa-linkedin"></i>
</a>
</li>
<li>
<a class="sc-mixcloud"
href="https://www.mixcloud.com/evandowning/"
target="_blank">
<i class="fa-brands fa-mixcloud"></i>
</a>
</li>
</ul>
</div>
</aside>
<main>
<nav>
<a href="https://www.evandowning.com/">Home</a>
<a href="/archives.html">Archives</a>
<a href="/categories.html">Categories</a>
<a href="/tags.html">Tags</a>
<a href="https://www.evandowning.com/feeds/all.atom.xml">Atom</a>
</nav>
<article class="single">
<header>
<h1 id="converting-protonmails-vcf-files-to-import-to-phone">Converting Protonmail's VCF files to import to phone</h1>
<p>
Posted on May 19, 2019 in <a href="https://www.evandowning.com/category/coding-fun.html">coding-fun</a>
• 1 min read
</p>
</header>
<div>
<h1>Introduction</h1>
<p><a href="https://protonmail.com">Protonmail</a> captured my interest a few years ago as privacy-focused
alternative to <a href="http://gmail.com">Gmail</a>.</p>
<p>But one of the problems I faced was my dependence on Google's <a href="https://contacts.google.com">Contacts</a>
service which kept all of my contacts for me stored on my Android device.
I wanted to move away from this as well. But I also have an animosity towards
having email on my phone.</p>
<p>So without installing Protonmail on my phone, how could I take my contacts stored on Protonmail
and put them on my phone?</p>
<p>Well one obvious way was to export Protonmail's contacts to a <a href="https://en.wikipedia.org/wiki/VCard">VCF</a> file
and import that onto my phone. Unfortunately, Protonmail's VCF file was using version 4.0,
while my phone (Android version 8) was still stuck on VCF version 2.1. And I wasn't the
only one with issues with converting VCF file format versions:</p>
<ul>
<li><a href="https://alessandrorossini.org/the-sad-story-of-the-vcard-format-and-its-lack-of-interoperability/">https://alessandrorossini.org/the-sad-story-of-the-vcard-format-and-its-lack-of-interoperability/</a></li>
<li><a href="https://android.stackexchange.com/questions/106888/what-vcard-formats-versions-and-encodings-are-supported-for-import">https://android.stackexchange.com/questions/106888/what-vcard-formats-versions-and-encodings-are-supported-for-import</a></li>
<li><a href="https://github.com/nextcloud/contacts/issues/492">https://github.com/nextcloud/contacts/issues/492</a></li>
<li><a href="https://www.tenorshare.com/icloud-tips/cannot-import-vcf-vcards-into-icloud-how-to-fix.html">https://www.tenorshare.com/icloud-tips/cannot-import-vcf-vcards-into-icloud-how-to-fix.html</a></li>
</ul>
<p>But all of the tools I found went from version 2.1 to something newer. I couldn't find any converters
from a newer version down to an older version.</p>
<p>Protonmail (at the time of this post) uses version 4.0.
So I wrote a converter from version 4.0 (Protonmail) to version 2.1 (what Android still uses).</p>
<p>You can find my converter here: <a href="https://github.com/evandowning/vcf-converter">https://github.com/evandowning/vcf-converter</a></p>
<p>So everytime my Protonmail contacts get updated, I export them to a VCF file,
convert it to version 2.1, and transfer it to my Android device to be imported locally.</p>
<p>Enjoy.</p>
</div>
<div class="tag-cloud">
<p>
<a href="https://www.evandowning.com/tag/protonmail.html">protonmail</a>
<a href="https://www.evandowning.com/tag/vcf.html">vcf</a>
</p>
</div>
</article>
<footer>
<p>
© 2024 - This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/deed.en_US" target="_blank">Creative Commons Attribution-ShareAlike 4.0 International License</a>
</p>
<p>
Built with <a href="http://getpelican.com" target="_blank">Pelican</a> using <a href="http://bit.ly/flex-pelican" target="_blank">Flex</a> theme
<span class="footer-separator">|</span>
Switch to the <a href="javascript:void(0)" onclick="theme.switch(`dark`)">dark</a> | <a href="javascript:void(0)" onclick="theme.switch(`light`)">light</a> | <a href="javascript:void(0)" onclick="theme.switch(`browser`)">browser</a> theme
<script id="dark-theme-script"
src="https://www.evandowning.com/theme/dark-theme/dark-theme.min.js"
data-enable-auto-detect-theme="True"
data-default-theme="light"
type="text/javascript">
</script>
</p><p>
<a rel="license"
href="http://creativecommons.org/licenses/by-sa/4.0/"
target="_blank">
<img alt="Creative Commons License"
title="Creative Commons License"
style="border-width:0"
src="https://i.creativecommons.org/l/by-sa/4.0/80x15.png"
width="80"
height="15"/>
</a>
</p></footer> </main>
<script type="application/ld+json">
{
"@context" : "http://schema.org",
"@type" : "Blog",
"name": " Evan Downing ",
"url" : "https://www.evandowning.com",
"image": "https://www.evandowning.com/images/profile.png",
"description": ""
}
</script>
</body>
</html>