Thanks to the help of @Luandro PÃ twy,
who uses the -indie
flavor, I sent him another APK to debug the issue, and here's what I learned.
ssbKeys.loadSync
fails with an EISDIR failure, which means that the secret
file... is a directory? How on Earth did that happen?
Anyway, one good info that reduces the mystery of this bug is that I realize that in the latest version, ssb-keys-neon
(Rust) was replaced with the traditional ssb-keys
(JS), and maybe there was a remote chance that ssb-keys-neon
was saving a directory somehow. The other possibility is that I noticed there are duplicates of ssb-keys
shipped in the latest version, because of transitive dependencies in the npm dependency tree. Maybe there's some kind of mistake due to that.
I hope someone has an eureka about this, even though it's Friday evening.