Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 29 additions & 7 deletions docs/source/_static/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -277,32 +277,48 @@ a.headerlink { display: none; }
.cnx-footer {
border-top: 1px solid #e1e4e5;
padding: 1.25rem 2rem;
background: #fcfcfc;
}

.footer-inner {
display: flex;
justify-content: center;
align-items: center;
background: #fcfcfc;
justify-content: space-between;
gap: 1rem;
}

.footer-address {
.footer-right {
display: flex;
align-items: center;
gap: 0.75rem;
gap: 1rem;
}

.footer-copyright {
font-size: 0.8rem;
color: #9ba8b4;
}

.footer-copyright a {
.footer-links {
display: flex;
align-items: center;
gap: 0.5rem;
font-size: 0.8rem;
}

.footer-links a {
color: #9ba8b4;
text-decoration: none;
}

.footer-copyright a:hover {
.footer-links a:hover {
color: #007bff;
text-decoration: underline;
}

.footer-sep {
color: #d0d7de;
}

.footer-flag img {
width: 24px;
height: 24px;
Expand All @@ -318,7 +334,13 @@ a.headerlink { display: none; }
}

@media (max-width: 480px) {
.cnx-footer {
.footer-inner {
flex-direction: column;
align-items: flex-start;
gap: 0.5rem;
}

.footer-right {
flex-direction: column;
align-items: flex-start;
gap: 0.5rem;
Expand Down
36 changes: 32 additions & 4 deletions docs/source/_templates/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,15 +75,43 @@

{% endblock %}

{# ── Inject Home link as first sidebar nav item ────────────────────── #}
{% block scripts %}
{{ super() }}
<script>
document.addEventListener('DOMContentLoaded', function() {
var menu = document.querySelector('.wy-menu-vertical > ul');
if (!menu) return;
var li = document.createElement('li');
li.className = 'toctree-l1{% if pagename == "index" %} current{% endif %}';
var a = document.createElement('a');
a.className = 'reference internal';
a.href = '{{ pathto("index") }}';
a.textContent = 'Home';
li.appendChild(a);
menu.insertBefore(li, menu.firstChild);
});
</script>
{% endblock %}

{# ── Custom footer ─────────────────────────────────────────────────── #}
{% block footer %}
<footer class="cnx-footer">
<div class="footer-address">
<div class="footer-inner">
<div class="footer-copyright">
<a href="https://docs.cryptnox.com/copyright.html">&copy; Copyright 2026, Cryptnox SA.</a>
<span>&copy; Copyright 2026, Cryptnox.</span>
</div>
<div class="footer-flag">
<img src="https://docs.cryptnox.com/wp-content/uploads/2025/11/switzerland-flag.png" alt="Switzerland flag">
<div class="footer-right">
<div class="footer-links">
<a href="https://cryptnox.com/legal-notices/">Legal Notice</a>
<span class="footer-sep">|</span>
<a href="#">Privacy Policy</a>
<span class="footer-sep">|</span>
<a href="#">Cookie Policy</a>
</div>
<div class="footer-flag">
<img src="https://docs.cryptnox.com/wp-content/uploads/2025/11/switzerland-flag.png" alt="Switzerland flag">
</div>
</div>
</div>
</footer>
Expand Down
1 change: 1 addition & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,4 @@

html_show_sourcelink = False
html_copy_source = False
html_show_sphinx = False
46 changes: 0 additions & 46 deletions docs/source/copyright.rst

This file was deleted.

8 changes: 8 additions & 0 deletions docs/source/cryptnox-cli.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Cryptnox CLI
============

*Cryptnox CLI* is a command-line tool for interacting with Cryptnox smartcards from the terminal.
It handles card initialization, secure channel establishment, PIN management, seed generation,
key derivation, and transaction signing through a straightforward command interface.

`View CLI User Guide <./cryptnox-cli/index.html>`_
9 changes: 9 additions & 0 deletions docs/source/cryptnox-sdk.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Cryptnox SDK
============

*Cryptnox SDK for Python* is a library that enables developers to integrate Cryptnox smartcard
functionality into their own applications. It provides programmatic access to secure channel
establishment, APDU communication, key derivation, and signing operations, allowing custom
wallet software and automation workflows to leverage the card's hardware security.

`View SDK Documentation <./cryptnox-sdk-py/index.html>`_
8 changes: 8 additions & 0 deletions docs/source/hardware-wallet.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Cryptnox Hardware Wallet
========================

*Cryptnox Hardware Wallet* is a JavaCard Open Platform 3 smartcard with an EAL6+ Common Criteria
certified secure element. It provides hardware-secured private key storage and transaction signing
for cryptocurrency applications over NFC and contact (T=1) interfaces.

`View Technical Reference <./hardware-wallet/index.html>`_
49 changes: 8 additions & 41 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,34 +5,21 @@ Cryptnox Product Documentation
.. toctree::
:maxdepth: 3
:caption: CONTENTS
:hidden:

copyright
hardware-wallet
cryptnox-cli
cryptnox-sdk
legal-notice


Cryptnox Hardware Wallet
=========================

.. raw:: html

<div class="card-icon">
<svg fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="1.75">
<rect x="2" y="5" width="20" height="14" rx="2" stroke="currentColor" stroke-width="1.75" fill="none"/>
<path stroke-linecap="round" stroke-linejoin="round" d="M2 10h20"/>
<path stroke-linecap="round" stroke-linejoin="round" d="M6 15h4"/>
</svg>
</div>

*Cryptnox Hardware Wallet* is a JavaCard Open Platform 3 smartcard with an EAL6+ Common Criteria
certified secure element. It provides hardware-secured private key storage and transaction signing
for cryptocurrency applications over NFC and contact (T=1) interfaces.

All communication is protected by a secure channel based on GlobalPlatform SCP03, ensuring
confidentiality, authentication, and integrity. The card supports SECP256k1 and SECP256r1 curves
with ECDSA and BIP340 Schnorr signing, BIP32/SLIP10 hierarchical key derivation, and multiple
authentication methods including PIN, user key challenge-response, and FIDO.

* **Hardware Wallet Technical Reference** [`View Docs <https://cryptnox.github.io/cryptnox-hardware-wallet/>`__]
* **Hardware Wallet Technical Reference** [`HTML <./hardware-wallet/index.html>`__]


-------------------------
Expand All @@ -41,20 +28,11 @@ authentication methods including PIN, user key challenge-response, and FIDO.
Cryptnox CLI
=============

.. raw:: html

<div class="card-icon">
<svg fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="1.75">
<path stroke-linecap="round" stroke-linejoin="round"
d="M8 9l3 3-3 3m5 0h3M5 20h14a2 2 0 002-2V6a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z"/>
</svg>
</div>

*Cryptnox CLI* is a command-line tool for interacting with Cryptnox smartcards from the terminal.
It handles card initialization, secure channel establishment, PIN management, seed generation,
key derivation, and transaction signing through a straightforward command interface.

* **Cryptnox CLI User Guide** [`View Docs <https://cryptnox.github.io/cryptnox-cli/>`__]
* **Cryptnox CLI User Guide** [`HTML <./cryptnox-cli/index.html>`__]


-------------------------
Expand All @@ -63,21 +41,12 @@ key derivation, and transaction signing through a straightforward command interf
Cryptnox SDK for Python
=========================

.. raw:: html

<div class="card-icon">
<svg fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="1.75">
<path stroke-linecap="round" stroke-linejoin="round"
d="M10 20l4-16m4 4l4 4-4 4M6 16l-4-4 4-4"/>
</svg>
</div>

*Cryptnox SDK for Python* is a library that enables developers to integrate Cryptnox smartcard
functionality into their own applications. It provides programmatic access to secure channel
establishment, APDU communication, key derivation, and signing operations, allowing custom
wallet software and automation workflows to leverage the card's hardware security.

* **Cryptnox SDK for Python** [`View Docs <https://cryptnox.github.io/cryptnox-sdk-py/>`__]
* **Cryptnox SDK for Python** [`HTML <./cryptnox-sdk-py/index.html>`__]


-------------------------
Expand All @@ -87,6 +56,4 @@ Other resources
===============

* `Cryptnox Website <https://www.cryptnox.com>`_
* `Cryptnox on GitHub <https://github.com/cryptnox>`_
* `Cryptnox Shop <https://shop.cryptnox.com>`_
* `Cryptnox Support <https://cryptnox.com/support-contact/>`_
* `Cryptnox on GitHub <https://github.com/nicokempe>`_
5 changes: 5 additions & 0 deletions docs/source/legal-notice.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Legal Notice
============

For Cryptnox legal notices, trademarks, disclaimers, and contact information,
please visit `cryptnox.com/legal-notices <https://cryptnox.com/legal-notices/>`_.
Loading