From 66c8e20c4233d84ed0f1a8f21577653979dfad0b Mon Sep 17 00:00:00 2001 From: Saivann Date: Wed, 23 Jul 2014 15:26:01 -0400 Subject: [PATCH] Add neutral privacy and decentralization score for signing only hardware wallets (thanks @harding @schildbach) --- _less/screen.less | 15 ++++ _templates/choose-your-wallet.html | 16 ++-- _translations/en.yml | 6 +- img/check_decentralization_neutral.png | Bin 0 -> 392 bytes img/check_decentralization_neutral.svg | 112 +++++++++++++++++++++++++ img/check_privacy_neutral.png | Bin 0 -> 431 bytes img/check_privacy_neutral.svg | 76 +++++++++++++++++ img/checkbubble_neutral.png | Bin 0 -> 432 bytes img/checkbubble_neutral.svg | 75 +++++++++++++++++ img/checkbubble_neutral_rtl.png | Bin 0 -> 468 bytes img/checkbubble_neutral_rtl.svg | 75 +++++++++++++++++ 11 files changed, 365 insertions(+), 10 deletions(-) create mode 100644 img/check_decentralization_neutral.png create mode 100644 img/check_decentralization_neutral.svg create mode 100644 img/check_privacy_neutral.png create mode 100644 img/check_privacy_neutral.svg create mode 100644 img/checkbubble_neutral.png create mode 100644 img/checkbubble_neutral.svg create mode 100644 img/checkbubble_neutral_rtl.png create mode 100644 img/checkbubble_neutral_rtl.svg diff --git a/_less/screen.less b/_less/screen.less index ade6cdcc..698ebea1 100644 --- a/_less/screen.less +++ b/_less/screen.less @@ -1533,6 +1533,15 @@ table td,table th{ .wallets .checkpass>div>span{ background-image:url(/img/checkbubble_pass.svg); } +.wallets .checkneutral{ + color:#8b8b8b; +} +.wallets .checkneutral p{ + border-color:#8b8b8b; +} +.wallets .checkneutral>div>span{ + background-image:url(/img/checkbubble_neutral.svg); +} .wallets .checkfail{ color:#ee9209; } @@ -1553,6 +1562,9 @@ table td,table th{ .wallets .checkdecentralization.checkgood{ background-image:url(/img/check_decentralization_pass.svg); } +.wallets .checkdecentralization.checkneutral{ + background-image:url(/img/check_decentralization_neutral.svg); +} .wallets .checkdecentralization.checkfail{ background-image:url(/img/check_decentralization_fail.svg); } @@ -1574,6 +1586,9 @@ table td,table th{ .wallets .checkprivacy.checkgood{ background-image:url(/img/check_privacy_pass.svg); } +.wallets .checkprivacy.checkneutral{ + background-image:url(/img/check_privacy_neutral.svg); +} .wallets .checkprivacy.checkfail{ background-image:url(/img/check_privacy_fail.svg); } diff --git a/_templates/choose-your-wallet.html b/_templates/choose-your-wallet.html index 39c7c403..bb5ccfe6 100755 --- a/_templates/choose-your-wallet.html +++ b/_templates/choose-your-wallet.html @@ -461,17 +461,17 @@ wallets:
{% for os in platform.os %}{{ os }}{% endfor %}
{% if platform.link contains '://' %}{% translate walletvisit %}{% else %}{% translate {{platform.link}} %}{% endif %}
- {% for check in platform.check %}{% if check[0] == 'privacy' %} -
{% translate {{check[1]}} %}
+ {% for check in platform.check %}{% if check[0] == 'privacy' and platform.privacycheck %} +
{% translate {{check[1]}} %}
{% for privacycheck in platform.privacycheck %} -
+

{% translate {{privacycheck[1]}} %}

{% translate {{privacycheck[1]}}txt %}

{% endfor %}
{% else %} -
{% translate {{check[1]}} %}

{% translate {{check[1]}}txt %}

+
{% translate {{check[1]}} %}

{% translate {{check[1]}}txt %}

{% endif %}{% endfor %}

{% translate {{platform.text}} %}

@@ -491,17 +491,17 @@ wallets:
{% for os in platform[1].os %}{{ os }}{% endfor %}
{% if platform[1].link contains '://' %}{% translate walletvisit %}{% else %}{% translate {{platform[1].link}} %}{% endif %}
- {% for check in platform[1].check %}{% if check[0] == 'privacy' %} -
{% translate {{check[1]}} %}
+ {% for check in platform[1].check %}{% if check[0] == 'privacy' and platform[1].privacycheck %} +
{% translate {{check[1]}} %}
{% for privacycheck in platform[1].privacycheck %} -
+

{% translate {{privacycheck[1]}} %}

{% translate {{privacycheck[1]}}txt %}

{% endfor %}
{% else %} -
{% translate {{check[1]}} %}

{% translate {{check[1]}}txt %}

+
{% translate {{check[1]}} %}

{% translate {{check[1]}}txt %}

{% endif %}{% endfor %}

{% translate {{platform[1].text}} %}

diff --git a/_translations/en.yml b/_translations/en.yml index b138bb3b..213ddc4d 100644 --- a/_translations/en.yml +++ b/_translations/en.yml @@ -132,8 +132,8 @@ en: checkfailcontrolthirdpartytxt: "This service has full control over your bitcoins. This means you need to trust this service will not lose your funds in an incident on their side. As of today, most web wallets don't insure their deposits like a bank, and many such services have suffered from security breaches in the past." checkgooddecentralizefullnode: "Full node" checkgooddecentralizefullnodetxt: "This wallet is a full node that validates and relays transactions on the Bitcoin network. This means no trust in a third party is required when verifying payments. Full nodes provide the highest level of security and are essential to protecting the network. However, they require more space (over 20GB), bandwidth, and a longer initial synchronization time." - checkgooddecentralizehardware: "Decentralized" - checkgooddecentralizehardwaretxt: "This device does not connect to the network by itself. However, it can be used with any compatible decentralized wallet without requiring trust in a third party when verifying payments." + checkneutraldecentralizevariable: "Variable decentralization" + checkneutraldecentralizevariabletxt: "Decentralization features are provided by the software wallet you use with this device. Please see the Decentralization score for the software wallet you plan to use." checkpassdecentralizespv: "Decentralized" checkpassdecentralizespvtxt: "This wallet connects to the Bitcoin network. This means very little trust in third parties is required when verifying payments. However, it is not as secure as a full node like Bitcoin Core." checkfaildecentralizecentralized: "Centralized" @@ -155,6 +155,8 @@ en: checkfailenvironmentdesktop: "Vulnerable environment" checkfailenvironmentdesktoptxt: "This wallet can be loaded on computers which are vulnerable to malware. Securing your computer, using a strong passphrase, moving most of your funds to cold storage or enabling two-factor authentication can make it harder to steal on your bitcoins." checkgoodprivacyimproved: "Improved privacy" + checkneutralprivacyvariable: "Variable privacy" + checkneutralprivacyvariabletxt: "Privacy features are provided by the software wallet you use with this device. Please see the Privacy score for the software wallet you plan to use." checkpassprivacybasic: "Basic privacy" checkfailprivacyweak: "Weak privacy" checkpassprivacyaddressrotation: "Prevents spying on your payments" diff --git a/img/check_decentralization_neutral.png b/img/check_decentralization_neutral.png new file mode 100644 index 0000000000000000000000000000000000000000..e53e5a76874f553c7ffcf7ca470a694afd93205b GIT binary patch literal 392 zcmV;30eAk1P)MzCV_|S* zE^l&Yo9;Xs00038NklU+WoKlKM+sG zr638c;D7f4918Zcbie8T*?p$_b@!|W7Ay*YPJGwp1T;yu`(pR*4t@*;9dg~jC$WQA zoxI&!yRWt@G;sZAM0SH;_hp!#Rm?q;x2>b}|=16R;p+r1cJY`Y-P%OF49Zs39` zSld;C6lCt*zd?TLy1$AUWIuoRT96N>O8jS-Al{wVeWLqU_k-?VT^~W3fC{=cbpHja z|J!w~dnZum;jYX!VW26B{R&V=cAo_+_}~4ztD;99OF(sP1uFOl#20WxR=;HTF<>}e m?bgE+oBtUan6OFzX8-^;Xb^xp_z%kf0000 + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + diff --git a/img/check_privacy_neutral.png b/img/check_privacy_neutral.png new file mode 100644 index 0000000000000000000000000000000000000000..b0109316313993a2f35d35f0065381cff8990813 GIT binary patch literal 431 zcmV;g0Z{&lP)k@c|%? z<2iu6F>qbi$CH4fC{h5`7y!WQB*6FmcM-W=Eon8r&6ai3_jfKaNs?Kf=LWzbfE@rE zE$$;BvfH7v9neRpl`+6p#bI + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/img/checkbubble_neutral.png b/img/checkbubble_neutral.png new file mode 100644 index 0000000000000000000000000000000000000000..1c56399717194ba4e50d01bc5d311f3e9fa5dd4c GIT binary patch literal 432 zcmV;h0Z;ykP)HK~y-6osvCI!!QtrZRb7;M3LHfs62r(CGFIuA43^Tldk*+ zMkE#_7!ec0p+W~nR3zB>hhd^Bp+pHD?Yl?!_+DL>rTWiVtyU*d6n#S5MiHTIxBCD9 zm&4%@b(;y+>va(X!Mk&==e;*k6sbl45piJ{Zj@4|i^YPHB-y^zDu_tH%-4u`Hy8|f zGMQ*Z{895KKtyKD{9&!_=Xu_V<9Kh~F9i{?MD%QoIrrWlq-k2Kx1B&lv{LE<03Opc z#rb^RVdmOqrIa%JF3T3H*{gtvPu~hzmg!c29ncIB->kL$<#HJ|{=^C-FveUNW9~ + + + + + + + + + image/svg+xml + + + + + + + + + + + + diff --git a/img/checkbubble_neutral_rtl.png b/img/checkbubble_neutral_rtl.png new file mode 100644 index 0000000000000000000000000000000000000000..14ef2abbba94149d837ac9a80473b7ab048505f2 GIT binary patch literal 468 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`EX7WqAsj$Z!;#Vf2?p zUk71ECym(^Ktah8*NBqf{Irtt#G+J&^73-M%)IR4JzX3_ zEPCfoviCmhAkkjm_TYPgew`v~_hM)5AMdQXS{kZ7NRvrncpJuEoExMxc0O|?a90vQ-u1Ueo^sCypbIb4y@ z6X_BnE4w06Z~6zD{OQks&M_==bO~JS;5%y>M^nP;DX)sp?RJ@B4h*JboZ?q0nR9&GHGA9zK^te(&2K>h*Q$l + + + + + + + + + image/svg+xml + + + + + + + + + + + +