Comments (8)
Before reinstalling the Vault, have you tried to just re-import the secret? It would be interesting if the problem is on a secret level, or on an app level.
In any case, one of our team members just had the same issue happen today on his dedicated device (but if I'm informed correctly, it was like that even after re-installing the app, do it never actually worked on that device). We will get that device on Monday and can hopefully track the issue down on that device. I'll let you know what we find.
from airgap-vault.
Thanks for the report, we are looking into it.
According to the docs, the "key permanently invalidated exception" is caused by the user changing / resetting his passcode or biometrics. https://developer.android.com/reference/android/security/keystore/KeyPermanentlyInvalidatedException
One issue here is that in this case, the Vault should actually prompt you for the "recovery key", which doesn't happen at the moment.
from airgap-vault.
I got into the same loop asking for the unlock pattern, again.
After some months of all operating smoothly.
Also, note that this device is dedicated as vault device.
Any idea why? nobody else experiencing this?
from airgap-vault.
We had one other report about this via email a couple months ago, but other than that no. We looked into this, but we are not able to reproduce it.
You say that it has been working for months. Did you change anything that triggered this issue?
- Did you update the device?
- Did you update AirGap Vault?
- Did you update any other app on the device?
- Did you change any system settings (eg. PIN, Biometrics, PIN requirements)?
- Did you connect your phone to the internet (wifi / cellular)?
from airgap-vault.
It is a mystery. this device is dedicated as vault. Has connectivity turned off.
I have not installed anything, and my vault was up to date since I originally had the problem.
this is the second time.
from airgap-vault.
I reinstalled the vault, and re-imported the secret and works again.
I noticed that the pattern asking loop happens right after signing the transaction before asking where is the walled: same device or other. If that is of any use.
I don't know what leads to the installation getting corrupt... no idea.
from airgap-vault.
So we finally got our hands on a device where we could reproduce the issue. Sadly, this seems to be related to the OS or the hardware.
Basically, the issue is that when we request the seed from the secure storage, the device tells us that the user is not authenticated. Then we show the native prompt to authenticate (eg. pin / pattern / fingerprint). After that, the user should be authenticated for the next 15 seconds. Then we immediately request the seed again, which will then return it because the user is authenticated. However, on some devices, the second request fails again with the same error, "user not authenticated". No matter how many times the user authenticates, the device keeps thinking that the user is not, which will result in an infinite loop.
This is the ticket that was opened on the android issue tracker over 2 years ago: https://issuetracker.google.com/issues/119944680?pli=1
Sadly, as this does not seem to be a common issue and google closed the issue because it's not reproducible, there is nothing we can do in this case. The only thing we could do is to update the apps and use a less secure approach to storing the seed. With our latest findings, we will now have some discussions on what we will do.
from airgap-vault.
thanks for the heads up. I have now input my secrets a number of times and does not feel so scary anymore.
from airgap-vault.
Related Issues (20)
- new seed - no entropy from drawing - stuck ...
- Scan this (address) QR code with Metamask does not work HOT 3
- add support for keplr wallet HOT 1
- APK not installing HOT 5
- Support URL Schema Redirect for Companion App HOT 1
- Build reproduction steps
- Request to add support for Avalanche P-chain (for staking). HOT 1
- Use `--output-hashing none` to prevent random names for built main.js HOT 3
- Unable to enable the BIP39 Passphrase on the Android Vault version? HOT 1
- Issue Signing on Optimism HOT 29
- Can you create a Wagmi connector to support the AirGap Vault wallet? HOT 1
- 可以支持中文助记词吗 HOT 1
- Will airgap-vault support stx (stx-i-stack) chain? HOT 1
- publickey check failed. HOT 2
- When the Vault will support OKX Web3 wallet?
- Electrum PSBT QR incompatible code HOT 1
- airgap-vault crashes when generating new seed on a phone with no audio. HOT 1
- Airgap-vault AppImage.
- keystone QR format compatibility HOT 1
- How to add new chain wallet on the vault? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from airgap-vault.