-
Notifications
You must be signed in to change notification settings - Fork 0
/
gettingstarted.html
219 lines (169 loc) · 7.62 KB
/
gettingstarted.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
<!doctype html>
<html lang="en">
<head>
<title>MapSafe QGIS Plugin</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link href="https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700,800,900" rel="stylesheet">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="css/style.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
<script>
$(function() {
$("#myImg").hover(
function() {
$(this).attr("src", "images/combined.gif");
},
function() {
$(this).attr("src", "images/pluginsettings.png");
}
);
});
window.addEventListener('load', function() {
const submenus = document.querySelectorAll('.homeSubmenu');
submenus.forEach(function(submenu) {
submenu.style.display = 'block'; // show submenus on page load
});
});
</script>
<style>
code {
font-family: Consolas,"courier new";
color: crimson;
background-color: #f1f1f1;
padding: 2px;
font-size: 105%;
}
</style>
</head>
<body>
<div class="wrapper d-flex align-items-stretch">
<nav id="sidebar">
<div class="custom-menu">
<button type="button" id="sidebarCollapse" class="btn btn-primary">
<i class="fa fa-bars"></i>
<span class="sr-only">Toggle Menu</span>
</button>
</div>
<div class="p-4 pt-5">
<h1><a href="index.html" class="logo">MapSafe</a></h1>
<ul class="list-unstyled components mb-5">
<li>
<a href="index.html">Home</a>
</li>
<li>
<a href="gettingstarted.html">Getting Started</a>
</li>
<li class="active">
<a id="my-ele" href="#homeSubmenu" data-toggle="collapse" aria-expanded="true" class="dropdown-toggle">Safeguard</a>
<ul class="collapse list-unstyled" id="homeSubmenu">
<li>
<a href="anonymise.html">Anonymise</a>
</li>
<li>
<a href="encrypt.html">Encrypt</a>
</li>
<li>
<a href="notarise.html">Notarise</a>
</li>
</ul>
</li>
<li>
<a id="my-ele2" href="#pageSubmenu" data-toggle="collapse" aria-expanded="true" class="dropdown-toggle">Verification</a>
<ul class="collapse list-unstyled" id="pageSubmenu">
<li>
<a href="verify.html">Verify</a>
</li>
<li>
<a href="decrypt.html">Decrypt</a>
</li>
</ul>
</li>
<li>
<a href="shield.html">Shield Passphrase</a>
</li>
<li>
<a href="contact.html">Contact</a>
</li>
</ul>
</div>
</nav>
<!-- Page Content -->
<div id="content" class="p-4 p-md-5 pt-5">
<!-- Shield Passphrase -->
<h2 class="title w-100">Getting Started</h2>
Before the plugin can be used, the following confuigurations need to be made.
<ul>
<li>Installing Python and the required libraries</a></li>
<li>MapSafe Plugin Settings</a></li>
<ul>
<li>Individual or Combined Mode</a></li>
<li>Seting up the Working Directory</a></li>
<li>Seting up for Notarisation</a></li>
<li>Help Menu</a></li>
</ul>
</ul>
<br>
<h3> Installing Python and the required libraries</h3>
<p> Python can be installed on the machine. The
The Windows installer is at https://www.python.org/downloads/windows/ <br>
<p> The required Python libraries can be installed via pip.
To use pip in a Windows environment, one needs to run the OSGeo4W.bat from the 'D:\QGIS' directory (not from 'D\OSGEO4W').
<br>
<p> These commands need to be issued using the D:\QGIS\OSGEO.bat <br>
<code> D:\QGIS>pip install cryptography </code> <br>
<code> D:\QGIS>pip install web3 </code> <br>
<code> D:\QGIS>pip install python-dotenv </code> <br>
<code> D:\QGIS>pip install xkcdpass </code> <br>
<code> D:\QGIS>pip install easygui or python -m pip install easygui</code> <br>
<code> D:\QGIS>pip install python-dotenv </code> <br>
<code> D:\QGIS>(python -m) pip install pyqt-switch </code> <br>
<br>
<h3>MapSafe Plugin Settings</h3>
From the plugin's main window, the following need to be set
<br><br>
<div class="image text-left w-100">
<img id="myImg" class="img-responsive thumbnail" src="images/gettingstarted.png">
</div>
<br><br>
<h4>1. Individual or Combined Mode</h4>
<p>The plugin can be used in two modes. The <b>combined mode</b> (default) enforces and guides the user in perfoming these three functions in order in a workflow.
The <b>individual mode</b> allows users to use the plugin's three security functions
(masking or hexabinning, encryption and notarisation) individually or in any combination.
<p> This selection can be made in the switch at the top left (see above image).
<br><br>
<h4>2. Seting up the Working Directory</h4>
<p>It is essential for users to set the working directory, where the resulting masked, binned, and encrypted datasets are <b>Saved</b>.
This directory is also used by the plugin to perform computations and hold temporary data.
<p> Users need to set this directory in the env variables dialog the first time the plugin is loaded (see above image).
<br><br>
<h3>3. Seting up for Notarisation</h3>
<p>Ideally, all information should be notarised on the Ethereum mainnet. However, one can use the public Ethereum testnet, Sepolia for testing.
These are the steps needed for minting in Sepolia testnet:
<ul class="a">
<li>First, visit <a href="https://vanity-eth.tk/" target="_blank">Vanity-ETH </a> to generate an Ethereum vanity address and a private key.</li>
<li>Second, using your generated Ethereum address, request Ether from this <a href="https://www.sepoliafaucet.io/" target="_blank">Goerli Faucet</a></li>
<li>If using the testnet, you can check the Ether balance and all minted data on your address, at the
<a href="https://sepolia.etherscan.io/" target="_blank">Goerli etherscan</a> </li>
<li>Finally, set the private key and testnet information using the Set Variables button on the plugin's top right (see above image).</li>
</ul>
<br>
<h4>4. Help</h4>
<p>The Help button directs the users to this website.
<br><br><br>
<div class="footer">
<p2><!-- Link back to Colorlib can't be removed. Template is licensed under CC BY 3.0. -->
Copyright ©<script>document.write(new Date().getFullYear());</script> All rights reserved | This template is made using <i class="icon-heart" aria-hidden="true"></i> <a href="https://colorlib.com" color="white" target="_blank">Colorlib.com</a>
<!-- Link back to Colorlib can't be removed. Template is licensed under CC BY 3.0. --></p>
</div>
</div>
<script src="js/jquery.min.js"></script>
<script src="js/popper.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/main.js"></script>
<script>
document.getElementById("my-ele").click();
document.getElementById("my-ele2").click();
</script>
</body>
</html>