Skip to content

feat: support ledger solana offchain message signing#2093

Merged
hf merged 3 commits into
supabase:masterfrom
etodanik:feat/solana-ledger
Aug 5, 2025
Merged

feat: support ledger solana offchain message signing#2093
hf merged 3 commits into
supabase:masterfrom
etodanik:feat/solana-ledger

Conversation

@etodanik

@etodanik etodanik commented Jul 29, 2025

Copy link
Copy Markdown
Contributor

Supports Solana off-chain messages signed with Ledger, as described in this issue: #2092

@etodanik etodanik requested a review from a team as a code owner July 29, 2025 22:49
@etodanik

Copy link
Copy Markdown
Contributor Author

Pinging the people that seem to be maintaining Solana according to latest git blame:
@Bewinxed @hf @staaldraad

@kimsoo527 kimsoo527 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hf hf left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Could you please see if the suggested code works and go with it, aids readability?

Comment thread internal/utilities/siws/parser.go Outdated
Co-authored-by: Stojan Dimitrovski <sdimitrovski@gmail.com>
@etodanik

etodanik commented Aug 5, 2025

Copy link
Copy Markdown
Contributor Author

Looks good. Could you please see if the suggested code works and go with it, aids readability?

I applied the suggestion, and made sure the tests still pass.

@etodanik

etodanik commented Aug 5, 2025

Copy link
Copy Markdown
Contributor Author

@hf I've addressed linter's gosec errors

@coveralls

Copy link
Copy Markdown

Pull Request Test Coverage Report for Build 16751519116

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

  • 32 of 36 (88.89%) changed or added relevant lines in 1 file are covered.
  • 4 unchanged lines in 1 file lost coverage.
  • Overall coverage increased (+0.09%) to 70.585%

Changes Missing Coverage Covered Lines Changed/Added Lines %
internal/utilities/siws/parser.go 32 36 88.89%
Files with Coverage Reduction New Missed Lines %
internal/models/audit_log_entry.go 4 94.12%
Totals Coverage Status
Change from base Build 16492281791: 0.09%
Covered Lines: 11883
Relevant Lines: 16835

💛 - Coveralls

@hf hf merged commit 4c94443 into supabase:master Aug 5, 2025
3 checks passed
@etodanik etodanik deleted the feat/solana-ledger branch August 5, 2025 14:36
cemalkilic pushed a commit that referenced this pull request Aug 6, 2025
🤖 I have created a release *beep* *boop*
---


##
[2.178.0](v2.177.0...v2.178.0)
(2025-08-05)


### Features

* add sign in with ethereum
([#2069](#2069))
([079b242](079b242))
* add support for managing SSO providers by resource_id
([#2081](#2081))
([5ca4489](5ca4489))
* log all audit events separately to prevent missing events
([#2086](#2086))
([3b666f5](3b666f5))
* skip nonce check for Facebook Limited Login auth
([#2082](#2082))
([f1b15ff](f1b15ff))
* support ledger solana offchain message signing
([#2093](#2093))
([4c94443](4c94443))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
fadymak pushed a commit that referenced this pull request Sep 30, 2025
Supports Solana off-chain messages signed with Ledger, as described in
this issue: #2092

---------

Co-authored-by: Stojan Dimitrovski <sdimitrovski@gmail.com>
fadymak pushed a commit that referenced this pull request Sep 30, 2025
🤖 I have created a release *beep* *boop*
---


##
[2.178.0](v2.177.0...v2.178.0)
(2025-08-05)


### Features

* add sign in with ethereum
([#2069](#2069))
([079b242](079b242))
* add support for managing SSO providers by resource_id
([#2081](#2081))
([5ca4489](5ca4489))
* log all audit events separately to prevent missing events
([#2086](#2086))
([3b666f5](3b666f5))
* skip nonce check for Facebook Limited Login auth
([#2082](#2082))
([f1b15ff](f1b15ff))
* support ledger solana offchain message signing
([#2093](#2093))
([4c94443](4c94443))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants