Comments (9)
That is certainly not intentional. If your device key is locked, kbfs operations are supposed to trigger a pinentry popup, and also should immediately proceed on an unlock event. Can you describe more about the situation where you saw this (what platform, etc) and provide a keybase log send
ID?
from kbfs.
Sure thing:
I am running Arch Linux on a Dell XPS 9550, I am running keybase from the keybase-bin AUR package.
$ keybase --version
keybase version 1.0.16-20160808160043+cc9784a
$ kbfsfuse --version
1.0.2-20160808160043+750ab25
I am using the i3 window manager, and have it execute the following when my session starts:
keybase -d --log-file="$logdir/keybase.service.log" service &>> "$logdir/keybase.start.log" &
kbfsfuse -debug -log-file="$logdir/kbfsfuse.service.log" /keybase &>> "$logdir/kbfsfuse.start.log" &
I'll wrap up what I'm doing here and start a fresh session, then send along some logs.
from kbfs.
Sent debug logs, ID is: dc9cb24182a74b68109b7b1c
from kbfs.
Not sure if that also shares the kbfs debug output, so i've shared that log here: http://tinyurl.com/jglbohv
You'll see it starts out unable to sign or encrypt anything, and says it'll "retry" -- but the pin never pops. I manually unlock with "keybase unlock" and it is able to issue commands (including sharing this log file). This time it didn't lock up like it has in the past, which is interesting. I'll try to better repro that here soon.
from kbfs.
Hi @krillr -- in your above command it seems you aren't starting the Keybase
GUI manually, unless you left out a line. (The GUI log in your log send ends on 8/14.) That would mean there would be no pinentry, at least for the timeline in the log send.
Also, in the manual kbfs log you sent, it does connect and start working! As of this line:
2016-08-20T21:57:00.357805 ▶ [DEBU kbfs connection.go:380] 083 (CONN MDServerRemote a6c82e97) Connection: connected
After that, you'll see a bunch of successful file system operations. But since there's not a corresponding service log for those times, I can't really tell hat caused it to work. Is it possible you just weren't running a GUI when it wasn't working?
from kbfs.
As I said in my post with the KBFS logs, it started working after I
manually ran the "keybase unlock" command. This pops up the same pinentry
dialog that gpg uses, I type in my PW, and it goes. I'll resend the keybase
logs here in a bit.
On Sun, Aug 21, 2016 at 7:29 AM, Jeremy Stribling [email protected]
wrote:
Hi @krillr https://github.com/krillr -- in your above command it seems
you aren't starting the Keybase GUI manually, unless you left out a line.
(The GUI log in your log send ends on 8/14.) That would mean there would be
no pinentry, at least for the timeline in the log send.Also, in the manual kbfs log you sent, it does connect and start working!
As of this line:2016-08-20T21:57:00.357805 ▶ [DEBU kbfs connection.go:380] 083 (CONN MDServerRemote a6c82e97) Connection: connected
After that, you'll see a bunch of successful file system operations. But
since there's not a corresponding service log for those times, I can't
really tell hat caused it to work. Is it possible you just weren't running
a GUI when it wasn't working?—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#270 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAqCO0xtIlOseLxnBSbLgrVMhcWWkVdvks5qiGDYgaJpZM4JpORw
.
from kbfs.
Oh sorry, I misread your post. Sure, if you can get logs with a repro that would be great. I would expect a keybase unlock
to allow kbfs to continue if the device key is locked. And if you're running the Keybase GUI, and kbfs attempt to access the key should cause a Keybase pinentry to pop up.
from kbfs.
Keybase should probably try and pop up whatever pinentry program is
available, and not rely solely on the key base GUI? I don't see any good
reason why keybase needs a specialized pinentry setup, especially when
keybase unlock uses the standard gpg-provided one.
On Sunday, August 21, 2016, Jeremy Stribling [email protected]
wrote:
Oh sorry, I misread your post. Sure, if you can get logs with a repro that
would be great. I would expect a keybase unlock to allow kbfs to continue
if the device key is locked. And if you're running the Keybase GUI, and
kbfs attempt to access the key should cause a Keybase pinentry to pop up.—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#270 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAqCOyRsBLjLdksbpdhKRCuRFZKqZezwks5qiKz1gaJpZM4JpORw
.
from kbfs.
I believe we had a reason for that but I can't recall what it was. @patrickxb @maxtaco do you remember why we don't use gpg pinentry when kbfs requests a secret key?
from kbfs.
Related Issues (20)
- Ability to Nuke Database HOT 1
- KBFS file size limit of 512 KiB breaks git-remote-keybase HOT 9
- /keybase "resets" at random times HOT 15
- kbfs team folder "split" HOT 4
- fusermount: entry for /run/user/1000/keybase/kbfs not found in /etc/mtab HOT 13
- CreateFile not call when file name contains colon? HOT 5
- Removing "files before account reset" folder fails HOT 8
- android: git-remote-keybase stderr dup error HOT 12
- Keybase folder is empty HOT 2
- Question: How to use kbfs directly with snap applications? (Ubuntu 18.04.1 LTS) HOT 4
- Truncate file on Linux dosn't always work HOT 6
- Relative paths error on MacOS HOT 2
- keybase chat commands get slower and slower HOT 24
- Latest update of KBFS eating up a bunch of memory on macOS again. HOT 10
- dokan: path does not exist HOT 7
- Is there an obvious reason why I'm having trouble monitoring kbfs with incrond? HOT 8
- Oops. HOT 1
- Enormous KBFS memory usage when not doing anything (Arch Linux) HOT 10
- Extremely slow startup with VPN HOT 5
- incorrect quota state HOT 4
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 kbfs.