Skip to content
This repository has been archived by the owner on May 5, 2022. It is now read-only.

Commit

Permalink
Release v2.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
atifsaddique211f committed Mar 26, 2020
1 parent e111194 commit 98cd7ac
Show file tree
Hide file tree
Showing 181 changed files with 102,474 additions and 0 deletions.
752 changes: 752 additions & 0 deletions dist/3rdpartylicenses.txt

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
gh.ctemplar.com
Binary file added dist/Lato-Bold.249def540723f44a8e2a.eot
Binary file not shown.
5,844 changes: 5,844 additions & 0 deletions dist/Lato-Bold.3ae5100d243fd9cf2484.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dist/Lato-Bold.b0d886da2f312da1e7eb.woff
Binary file not shown.
Binary file added dist/Lato-Bold.d76ff38157f87b8431f3.ttf
Binary file not shown.
Binary file added dist/Lato-Italic.043b6bbb823c265b82cf.eot
Binary file not shown.
5,254 changes: 5,254 additions & 0 deletions dist/Lato-Italic.0821297fb45f3345bc06.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dist/Lato-Italic.7889f523daf5ff617fbc.woff
Binary file not shown.
Binary file added dist/Lato-Italic.8714de20489b7dcc766e.ttf
Binary file not shown.
5,441 changes: 5,441 additions & 0 deletions dist/Lato-Light.367ccd37325673b7ea46.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dist/Lato-Light.44de093c5e042f34ccf5.ttf
Binary file not shown.
Binary file added dist/Lato-Light.a700567dbedf380079ef.woff
Binary file not shown.
Binary file added dist/Lato-Light.b88e8e7ff1da8869070e.eot
Binary file not shown.
Binary file added dist/Lato-Regular.32640cf9b0049dacb917.woff
Binary file not shown.
5,442 changes: 5,442 additions & 0 deletions dist/Lato-Regular.5ba06abb4fad9b01019b.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dist/Lato-Regular.77fdd37087fd52db0371.ttf
Binary file not shown.
Binary file added dist/Lato-Regular.eae698da6399f805fcd1.eot
Binary file not shown.
112 changes: 112 additions & 0 deletions dist/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
# CTemplar Build

Official Angular cross-platform client for the CTemplar secure email service available at [https://ctemplar.com](https://ctemplar.com).

RELEASE VERSION : **v2.2.3**

SHA-256 checksum of `index.html` : **1cc7ab79d35347cc856a7062bd066966008a63bb683cd0ba15d89adbe95d3b87**

Find full release code and distribution at : [https://github.com/CTemplar/webclient/releases/latest](https://github.com/CTemplar/webclient/releases/latest)


## Transparent build code

We host our code publicly on Github. Every change there is tracked.
When we release a new version there are a few ways we guarantee there isn’t any change into the code.

* JavaScript files are using SRI, so they cannot be manipulated as the web browser will stop the execution and alert the user. We host them, but they are protected even from us, see next step.

* The `index.html` file is the main loaded file, the one decides which JS files and other things the site will load from the beginning, and `SRI` ensures they are those recognized. Every release we generate a SHA‌-256 checksum of it and we publish it here publicly (like traditional software does), any history change/manipulation will be tracked by Github.

* If users don’t trust this at all and they want to proof the checksum by hand is very easy too and we encourage doing it.
They can open the source code from their browser (right click, view source code) copy the whole and generate the SHA‌-256
checksum using their favourite offline tool (openssl, sha256sum, etc)
or online (https://hash.online-convert.com/sha256-generator, https://md5file.com/calculator, etc).

* Moreover our build is also directly served from github using github pages from [gh-pages](https://github.com/CTemplar/webclient/tree/gh-pages) branch.
It can be accessed on [gh.ctemplar.com](https://gh.ctemplar.com/)



## Calculate checksum

You can calculate checksum of `index.html` served by CTemplar website and the one in our github open source build code
and match their checksum. It should be same as mentioned at the top of this document.

### Calculate checksum of index.html served by CTemplar website

* Open [https://ctemplar.com](https://ctemplar.com)

* Right click, open menu and click on `View Page Source`, it will show you the website source code(`index.html`).

![img](/docs/images/right-click.png)

* Copy the code and check its SHA-256 hash from any online/offline tool. In this guide we will save the code in a file and check its hash
from both online and offline tool.

![img](/docs/images/save-as-file.png)

Make sure that you save `Web page, Html only` and not the complete webpage. You can also copy
the whole code and save it in a text/html file yourself (Note : you should copy the exact code, no empty lines at start while pasting in file).

![img](/docs/images/save-as-html-only-file.png)

* Calculate checksum of the saved file using offline cli.

```bash
openssl dgst -sha256 view-source_https___ctemplar.com.html
```

![img](/docs/images/calculate-hash-offline.png)

* Calculate checksum of the saved file using online tool.

i). [https://hash.online-convert.com/sha256-generator](https://hash.online-convert.com/sha256-generator)

![img](/docs/images/calculate-hash-online-1.png)

![img](/docs/images/calculate-hash-online-1.1.png)

ii). [https://md5file.com/calculator](https://md5file.com/calculator)

![img](/docs/images/calculate-hash-online-2.png)



### Calculate checksum of index.html from open source github build code

* Open CTemplar [webclient](https://github.com/CTemplar/webclient) github code and go into dist folder or directly go
to this link :: [/dist](/dist)

* Open `index.html` file inside dist folder and click on raw in order to access the raw content of this file.

![img](/docs/images/hash-online-raw-1.png)

* Copy the content and save it in a file, or right click and `save as` html/text file or you can simply copy the link of this file from
browser, which is [https://raw.githubusercontent.com/CTemplar/webclient/master/dist/index.html](https://raw.githubusercontent.com/CTemplar/webclient/master/dist/index.html)
and check its hash online by providing this link.

![img](/docs/images/save-github-file1.png)


* Calculate checksum of the saved file using offline cli.

```bash
openssl dgst -sha256 index.html
```

![img](/docs/images/calculate-hash-offline-github.png)

* Calculate checksum of the saved file using online tool.

i). [https://hash.online-convert.com/sha256-generator](https://hash.online-convert.com/sha256-generator)

![img](/docs/images/calculate-hash-online-github.png)

![img](/docs/images/calculate-hash-online-github1.png)

ii). [https://md5file.com/calculator](https://md5file.com/calculator)

![img](/docs/images/calculate-hash-online-github2.png)


Binary file added dist/Roboto-Bold.08cb8f79715774f9a628.woff
Binary file not shown.
Loading

0 comments on commit 98cd7ac

Please sign in to comment.