Git Product home page Git Product logo

firmware's Introduction


Github Stars Version Last commit Issues Pull Requests Discord Twitter Follow

Community & Support

  • Community Forum. Best for: help with building, discussion about best practices.
  • GitHub Issues. Best for: bugs and errors you encounter using OneKey.
  • Discord. Best for: sharing your ideas and hanging out with the community.

πŸš€ Getting Onboard

  1. Install nix
  2. Pulling the latest code via the git command line tool, setting up the development environment
  git clone --recurse-submodules https://github.com/OneKeyHQ/onekey-firmware.git
  cd onekey-firmware
  nix-shell
  poetry install
  1. Run the build with:
   cd core && poetry run make build_unix
  1. Now you can start the emulator
   poetry run ./emu.py
  1. You can now install the command line client utility to interact with the emulator
   cd python && poetry run python3 -m pip install .

✏ Contribute

  • Adding a small feature or a fix

    If your change is somewhat subtle, feel free to file a PR in one of the appropriate repositories directly. See the PR requirements noted at CONTRIBUTING.md

  • Add new coin/token/network to the official onekey firmware

    See COINS.md

Also please have a look at the docs before contributing. The misc chapter should be read in particular because it contains some useful assorted knowledge.

πŸ”’ Security

  • Please read Bug Bounty Rules, we have detailed the exact plan in this article.
  • Please report suspected security vulnerabilities in private to [email protected]
  • Please do NOT create publicly viewable issues for suspected security vulnerabilities.
  • As an open source project, although we are not yet profitable, we try to give some rewards to white hat hackers who disclose vulnerabilities to us in a timely manner.

✨ Salute!

firmware's People

Contributors

admin-slush avatar alepop avatar andrewkozlik avatar axic avatar davidmisiak avatar gabrielkerekes avatar grdddj avatar hiviah avatar jhoenicke avatar jpochyla avatar karelbilek avatar lihuanhuan avatar lyxyx avatar malinah avatar matejcik avatar mcudev avatar mmilata avatar mruddy avatar onvej-sl avatar ph4r05 avatar prusnak avatar refi93 avatar romanz avatar saleemrashid avatar somebodyli avatar szymonlesisz avatar tsusanka avatar vdovhanych avatar yura-pakhuchiy avatar zulucrypto avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

firmware's Issues

Please provide documentation on how to verify firmware and bootloader

https://onekey.so/en-US/hardware claims the firmware and bootloader are Open Source yet nowhere in the (English) documentation can I find how to verify or at least obtain the firmware binary. Furthermore the linked repository is just a text document, not mentioning "firmware", so I'm not even sure this repo is correct for this issue.

For the purpose of WalletScrutiny's review of your wallet I will have to conclude the hardware wallet uses closed source due to the missing link from the product's page to this or any other repository containing firmware source code.

Please update your product website to

  • link to the correct firmware and bootloader repositories
  • link to the signed binaries for every release
  • document how the hardware wallet asks the user for approval, at least optionally showing the binary's hash, so the user can make sure he's installing what he wants to install

As this repository here is a fork of Trezor's firmware, I assume this is merely a documentation issue and hope to soon be able to feature your product as reproducible just like the Trezor One.

Can't send transaction to new EVM network from Metamask

Describe the bug
After 4.5.0 firmware update, I can't send transaction on Base/Kava EVM/Linea etc. The device could only sign transaction on mainnet/bsc/avax and "already supported" chains. Any new EVM chain won't work after 4.5.0 firmware update.

Firmware version and revision
OneKey Touch 4.5.0

Desktop/smartphone setup (please complete the following information):

  • Wallet software: MetaMask
  • OS: macOS
  • Browser: Chrome
  • Version: 10.34.5

To Reproduce
Steps to reproduce the behavior:

  1. Add "Base Network" on https://chainlist.org
  2. Send any transaction
  3. ζˆͺ屏2023-08-24 13 55 27

Expected behavior
Device show "η­Ύη½² EVM δΊ€ζ˜“" and send transaction successfully.

Screenshots
Above.

Additional context
None

Cannot sign into any site using OneKey Hardware Wallet & Metamask. Lack of Trezor v9 support.

Describe the bug
Can't log into any website, basically, can't use my OneKey Touch (with Metamask).
Trying to sign in to any site, with Metamask, "https://connect.trezor.io/9/popup.html" pops up momentarily then closes.
Reported to support 4 weeks ago, was acknowledged as a known issue with Metamask now using Trezor v9 SDK, however I haven't seen any activity here regarding it so I'm now reporting it so it can be tracked properly.

Firmware version and revision
SafeOS 4.3.0 & OneKey App 4.9.0

Desktop/smartphone setup (please complete the following information):

  • Wallet software: MetaMask 10.34.3
  • OS: macOS
  • Browser: Brave & Chrome
  • Version: Brave 1.56.14 & Chrome 115.0.5790.170

To Reproduce
Steps to reproduce the behavior:

  1. Import hardware wallet to MetaMask
  2. Go to opensea.io
  3. Connect wallet / go to settings
  4. Attempt to sign in

Expected behavior
Hardware wallet should ask you to sign data (it doesn't)

Screenshots
N/A

Additional context
It works with OneKey browser extension (you can sign in), but I have a lot of wallets in MetaMask, and switching between MetaMask and OneKey for different wallets/sites, is convoluted.

When trying to send to Kaspa, the error is "unable to decode transaction data"

Describe the bug
When trying to send to Kaspa, the error is "unable to decode transaction data". But the transaction is sent without problems. But I don’t see the volume and destination address.

Firmware version and revision
OneKey Classic
Firmware 3.4.0
bluetooth version 1.4.1
bootloader 2.0

Desktop/smartphone setup (please complete the following information):

  • Wallet one key. Version 4.15.0 (2023110398)

To Reproduce
Just try sending KASPA to any address

Integration of a new network.

Hi team,

Together with a client partner we would like to integrate a new blockchain network into the OneKey wallets.
We have went through the documentation but we haven't found any documents on how we can proceed with that. Following a discussion with your team, we were suggested to open an issue and proceed forward.

The blockchain network is - https://www.nervos.org/

The end goal is to be able to execute and sign transactions to the network via OneKey hardware wallets.

We would be happy to support with everything from our side, and we are open for discussions and communications.

Cheers.

reproducible builds

feature request: reproducible builds


#17 was imo wasn't particularly well handled to address the concern raised.

This resulted in a "not verifiable" rating on https://walletscrutiny.com/hardware/onekey/ (which I am not affiliated with ).

https://help.onekey.so/hc/en-us/articles/6113121891599 doesn't clearly state "reproducible builds" or that users should get the same hash after complication.

All our code is open source, you can compile and generate your own binaries, and we will add HASH values in future versions.

Are binaries byte for byte deterministically reproducible, resulting in the same hash values for official and user-made builds, aka reproducible builds?

references:

Adding a Blockchain

Hi guys.
I'm interested in the question when the team will add TON blockchain (The Open Network)?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.