pages tagged betrustedwikihttp://sept.info9.net/wiki//betrusted/wikiikiwiki2020-01-02T04:55:22Za minimal matrix cli clienthttp://sept.info9.net/wiki//tmarble/posts/a_minimal_matrix_cli_client/2020-01-02T04:55:22Z2020-01-02T04:46:54Z
<h1>a minimal matrix cli client</h1>
<p>In <a href="http://info9.net/wiki/tmarble/posts/Betrusted_Software/">building the software</a> for Betrusted our goal is to
start with a minimal <a href="https://en.wikipedia.org/wiki/Matrix_(protocol)">Matrix</a> client: specifically one built
intentionally for the command line with no extras to
keep the memory footprint as low as possible.</p>
<p>This will prepare us for the secure client on the actual device we
will be running in a highly constrained user interface environment,
with application code written in Rust on top of the <a href="https://xobs.io/p/8e333298-72aa-4815-b3d8-2b7080578c2a/">Xous</a>
operating system.</p>
<p><br />
<a href="https://betrusted.io/">
<img src="http://info9.net/images/betrusted/betrusted.gif" alt="Betrusted Simulation in renode" />
<br />
<img src="http://info9.net/images/betrusted/keyboard-v4-azerty3-cropped.png" alt="Betrusted Azerty Keyboard" />
</a>
<br /></p>
<p><em>Shown: very early Betrusted simulation running in <a href="https://renode.io/">renode</a></em></p>
<p>The rationale for choosing the Matrix protocol for the first chat
application is that it: 1) is an open protocol, 2) supports federated
(decentralized) organization, 3) has multiple, independent, open source
implementations, and 4) supports multiple interoperability bridges.</p>
<h2>Choosing a Matrix reference client</h2>
<p>Looking for inspiration from existing <a href="https://matrix.org/clients/">Matrix clients</a>
we find Fractal is written in Rust, but is a very complex GUI application
and it does not have encryption support. The Weechat client is actually
a plugin for Weechat, is written in Python, and further from being
a stand alone application. Gomucks is a more minimal client, but it
is written in Go, has many "missing features", and fails to build.
There are very old and unmaintained projects <a href="https://github.com/koenw/matrix-cli">matrix-cli</a>
and <a href="https://github.com/saadnpq/matrixcli">matrixcli</a>.</p>
<p>A very promising, even if "work in progress", client is <a href="https://github.com/ruma/ruma-client">ruma-client</a>
as it is written in Rust and designed to be minimal. Another potential source
of inspiration is <a href="https://github.com/matrix-org/matrix-ircd">Matrix IRCd</a> as it is written in Rust
and curated by the Matrix foundation. So stay tuned for the initial
Betrusted Matrix command line client which will benefit from these
prior works.</p>
<h2>Web Content Accessibility Guidelines</h2>
<p>We are developing for an international and diverse set of users
and want to take into consideration guidance established for the
web from the <a href="https://www.w3.org/WAI/test-evaluate/preliminary/">Web Content Accessibility Guidelines</a>.</p>
<p>However, Betrusted is very intentionally <em>not</em> a web browser.
In fact the display is very simple: 336 × 536 pixels, black-and-white,
200 ppi resolution LCD.</p>
<p>Here are things we will keep in mind while considering accessibility
(based on the WCAG checks):</p>
<ul>
<li><strong>Page Title</strong> We can show "titles", but there will not be "windows", <em>per se</em> Betrusted (at least initially) will not have a screen reader.</li>
<li><strong>Image Text Alternatives:</strong> In the context of the chat application the first "images" to be used will be for emojis. We may provide an alternative, textual representation for these images, e.g. <strong>:smiley:</strong> for <img src="http://sept.info9.net/wiki//smileys/smile.png" alt=":)" /></li>
<li><strong>Text</strong>
<ul>
<li><strong>Headings</strong> Betrusted will not have heading structure (like a web browser)</li>
<li><strong>Contrast ratio</strong> This is easy: Betrusted <em>only</em> works at maximal contrast: black-and-white</li>
<li><strong>Resize text</strong> Betrusted should allow users to resize text (insomuch as rendering different font sizes does not consume memory exorbitantly)</li>
</ul>
</li>
<li><strong>Interaction</strong>
<ul>
<li><strong>Keyboard access and visual focus</strong> Betrusted (at least initially) will not have assistive technologies.</li>
<li><strong>Forms, labels and errors</strong> Following the guideline "Labels, keyboard access, clear instructions, and effective error handling are important for forms accessibility." is appropriate for Betrusted</li>
</ul>
</li>
<li><strong>General</strong>
<ul>
<li><strong>Moving, Flashing or Blinking Content</strong> For the chat application we do not expect blinking content.</li>
<li><strong>Multimedia alternatives</strong> For the chat application we do not expect multimedia (at least initially).</li>
<li><strong>Basic Structure Check</strong> The goal of "linearization of content" will likely not be an issue for Betrusted as the screen is so small it will be impractical to have more than one column in any given presentation.</li>
</ul>
</li>
</ul>
<p>Thus evaluating Bestrusted for Accessibility will require certain
adaptations.</p>
<h2>Acknowledgment</h2>
<p>The <a href="https://nlnet.nl/project/BetrustedSoftware/">Betrusted Software</a> project is made possible with
financial support from <a href="https://nlnet.nl/">NLnet</a> and the
<a href="https://nlnet.nl/PET/">ING10 Privacy & Trust Enhancing Technologies Fund</a>.</p>
Betrusted Softwarehttp://sept.info9.net/wiki//tmarble/posts/Betrusted_Software/2019-12-27T05:19:49Z2019-12-27T05:10:08Z
<h1>Betrusted Software</h1>
<p>I am thrilled to announce that I will be collaborating with
<a href="https://fahrplan.events.ccc.de/congress/2019/Fahrplan/speakers/3155.html">bunnie</a> and <a href="https://fahrplan.events.ccc.de/congress/2019/Fahrplan/speakers/4376.html">xobs</a> on the <a href="https://betrusted.io/">betrusted</a>
project with a focus on software.</p>
<p>Betrusted aims to provide a user verifiable, trustworthy device for
secure communications. That's why the device is intentionally limited in
functionality.</p>
<p><br />
<a href="https://betrusted.io/">
<img width="264" height="229" src="http://info9.net/images/betrusted/keyboard-v4-azerty3.png" alt="Betrusted Azerty Keyboard" />
</a>
<br /></p>
<p>This means that Betrusted is not a "smartphone": it can’t browse the web; it
has no “app store”; it won’t hail rides for you; and it can’t help you
navigate a city. However, it will be able to keep your private
conversations private, give you a solid second factor for
authentication, and perhaps provide a safe spot to store digital
currency.</p>
<p>Betrusted software is the application project companion for the
Betrusted hardware device. Going beyond just end-to-end encryption the
Betrusted project ensures that Human-Computer Interaction is also
secure from key loggers and screen grabbers. The software will include
an input method editor to facilitate entering text in both Latin
(French Azerty keyboard layout shown above) and Asian languages as well as a
graphics toolkit for the ultra low power display. This project will
develop a secure messaging application on top of these input/output
libraries while meeting the constraint that all software must fit in
an extraordinarily small memory footprint (4 MiB RAM).</p>
<p>Later today in Leipzig at the <a href="https://www.ccc.de/en/updates/2019/36c3-in-leipzig">36th Chaos Communication Congress</a>
<a href="https://fahrplan.events.ccc.de/congress/2019/Fahrplan/speakers/3155.html">bunnie</a> will present
<a href="https://fahrplan.events.ccc.de/congress/2019/Fahrplan/events/10690.html">Open Source is Insufficient to Solve Trust Problems in Hardware</a>.</p>
<p>Stay tuned for further updates on the Betrusted hardware, OS and
software projects.</p>
<p>The <a href="https://nlnet.nl/project/BetrustedSoftware/">Betrusted Software</a> project is made possible with
financial support from <a href="https://nlnet.nl/">NLnet</a> and the
<a href="https://nlnet.nl/PET/">NG10 Privacy & Trust Enhancing Technologies Fund</a>.</p>