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
21 changes: 21 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,27 @@
Changelog
=========

Version 1.0.5 - 2026-07-14
------------------------------------------------------------------------------------------------

Added
^^^^^^^

- Added Ed25519 (EdDSA) signing support for applet v2.0 (``KeyType.ED25519``)
- Added ``examples/solana_transaction/`` demonstrating Solana signing and transaction building

Changed
^^^^^^^

- Renamed ``BasicG1`` card class to ``Basic`` (``BasicG1`` kept as a backwards-compatible alias)
- Padded the SIGN PIN to the spec's fixed 9-byte field and replaced SIGN magic numbers with named constants
- Replaced hardcoded PINs in examples with a named PIN variable

Fixed
^^^^^^^

- Guarded Ed25519 key handling against silently falling through to the ECDSA path (unknown key types now raise)

Version 1.0.4 - 2026-04-10
------------------------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion cryptnox_sdk_py/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from . import enums, exceptions
from .enums import SlotIndex, Derivation, KeyType, AuthType, SeedSource, Origin

__version__ = "1.0.4"
__version__ = "1.0.5"

__all__ = [
'Card',
Expand Down
4 changes: 2 additions & 2 deletions cryptnox_sdk_py/card/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Module that contains classes for various Cryptnox cards.
"""
from .base import Base
from .basic_g1 import BasicG1
from .basic_g1 import Basic, BasicG1
from .nft import Nft

__all__ = ["Base", "BasicG1", "Nft"]
__all__ = ["Base", "Basic", "BasicG1", "Nft"]
5 changes: 1 addition & 4 deletions cryptnox_sdk_py/card/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,7 @@ def set_extended_public_key(self, status: bool, puk: str) -> None:

@abc.abstractmethod
def sign(self, data: bytes, derivation: Derivation, key_type: KeyType = KeyType.K1,
path: str = "", pin: str = "", filter_eos: bool = False) -> bytes:
path: str = "", pin: str = "") -> bytes:
"""
Sign the message using given derivation.

Expand All @@ -617,9 +617,6 @@ def sign(self, data: bytes, derivation: Derivation, key_type: KeyType = KeyType.
:type path: str, optional
:param pin: PIN code of the card
:type pin: str, optional
:param bool filter_eos: Filter signature so it is valid for EOS network,
might take longer. Defaults to False
:type filter_eos: str, optional

:return: The signature generated by the card in DER common format.
:rtype: bytes
Expand Down
Loading
Loading