Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove outdated solana-ledger-udev binary #2955

Merged
merged 2 commits into from
Oct 22, 2024

Conversation

Managarmrr
Copy link

Currently there exists a solana-ledger-udev binary which creates a udev rules file in /etc/udev/rules.d/20-hw1.rules and reloads the udev rules.

This might work on some systems and not on others (e.g., NixOS) and makes unnecessary assumptions about the currently running system.

These rules are also outdated and we're probably better off referencing the upstream repository rules maintained by Ledger and encouraging people to integrate them into their system.

@mergify mergify bot requested a review from a team September 20, 2024 04:24
@joncinque joncinque added the CI Pull Request is ready to enter CI label Sep 23, 2024
@anza-team anza-team removed the CI Pull Request is ready to enter CI label Sep 23, 2024
@joncinque
Copy link

The change looks good to me! Can you also add a remote-wallet/README.md file that contains the info from your comment? Something like:

# Solana Remote Wallet

Library for interacting with "remote" wallets, meaning any wallet where the private key bytes are not directly available, such as Ledger devices.

## Ledger udev-rules

In order to use a Ledger device on Linux machines, users must apply certain udev rules. These are available at the [udev-rules repository](https://github.com/LedgerHQ/udev-rules) maintained by the Ledger team.

Currently there exists a solana-ledger-udev binary which creates a
udev rules file in /etc/udev/rules.d/20-hw1.rules and reloads the
udev rules.

This might work on some systems and not on others (e.g., NixOS) and
makes unnecessary assumptions about the currently running system.

These rules are also outdated and we're probably better off
referencing the upstream repository rules maintained by Ledger
https://github.com/LedgerHQ/udev-rules
and encouraging people to integrate them into their system.
Add a README to remote-wallet which explains why this library exists and
where to get ledger udev rules from.
@Managarmrr
Copy link
Author

Sure, added the README.

@joncinque joncinque added the CI Pull Request is ready to enter CI label Oct 22, 2024
@anza-team anza-team removed the CI Pull Request is ready to enter CI label Oct 22, 2024
Copy link

@joncinque joncinque left a comment

Choose a reason for hiding this comment

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

Thanks for the contribution!

@joncinque joncinque merged commit 2013eb6 into anza-xyz:master Oct 22, 2024
53 checks passed
@Managarmrr Managarmrr deleted the fixup/ledger-udev branch October 22, 2024 13:05
ray-kast pushed a commit to abklabs/agave that referenced this pull request Nov 27, 2024
* remove outdated solana-ledger-udev binary

Currently there exists a solana-ledger-udev binary which creates a
udev rules file in /etc/udev/rules.d/20-hw1.rules and reloads the
udev rules.

This might work on some systems and not on others (e.g., NixOS) and
makes unnecessary assumptions about the currently running system.

These rules are also outdated and we're probably better off
referencing the upstream repository rules maintained by Ledger
https://github.com/LedgerHQ/udev-rules
and encouraging people to integrate them into their system.

* remote-wallet: add README

Add a README to remote-wallet which explains why this library exists and
where to get ledger udev rules from.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants