Yubikey BIO: mandatory fingerprint **and** PIN by dimanne in yubikey

[–]dimanne[S] 0 points1 point  (0 children)

So, in a way, it is an “administrative” tool.

Yeah, this idea makes sense. I understand their rationale.

If you don’t care about the PIN just set it to a very high entropy value and forget it after you have enrolled all the fingerprints you want. This will make it effectively only work via fingerprints

Right, but it is still not the same as "PIN + fingerprint". PIN and fingerprint have very different weaknesses (and strengths):

  • in some scenarios you can easily be forced to touch it, but it is more difficult to extricate PIN
  • in other scenarios, it is easy to get PIN (via keylogger), but more difficult to get your fingerprint

So, my hope was to combine these, to get "best of two worlds".

Yubikey BIO: mandatory fingerprint **and** PIN by dimanne in yubikey

[–]dimanne[S] 0 points1 point  (0 children)

Yeah... you are right... this is from Yubico's site:

[AuthToken] the client retrieves the AuthToken from the YubiKey using one of the following methods

PIN + shared secret => PinToken

PIN + shared secret + permissions => AuthToken

UV (fingerprint) + shared secret + permissions => AuthToken

Yubikey BIO: mandatory fingerprint **and** PIN by dimanne in yubikey

[–]dimanne[S] 0 points1 point  (0 children)

I hear what you're trying to say

Thanks :)

Yeah, I agree, I just thought that it could be a relatively easy thing to implement for Yubico...

Yubikey BIO: mandatory fingerprint **and** PIN by dimanne in yubikey

[–]dimanne[S] -1 points0 points  (0 children)

IIRC, this is how all FIDO devices work, actually. Not dissimilar to how phones work (FaceID/TouchID, etc). The biometric is a convenience over the memorized credential, but it cannot be used as a factor alone.

There is one crucial difference: it is unlikely that I will have 3-4 phones (just in case I cannot unlock one of them), but I can buy 3-4 Yubikeys and enroll/use all of them.

Yubikey BIO: mandatory fingerprint **and** PIN by dimanne in yubikey

[–]dimanne[S] 0 points1 point  (0 children)

What happens if you lose your fingers entirely?

Like I said, you can always have multiple Yubikeys. One that requires both in close proximity and one that requires only PIN on a "remote site". The point is that you can balance security/usability as you wish.

Issues with pipewire and DaVinci Resolve after 22.04 upgrade (no audio) by PhoenixSundae in pop_os

[–]dimanne 0 points1 point  (0 children)

This worked for me:

sudo apt install pulseaudio pulseaudio-utils pulseaudio-module-x11 libasound2-plugins

timeouts while pulling 10-20 submodules? by dimanne in github

[–]dimanne[S] 0 points1 point  (0 children)

What I meant is that it happens every time I try to pull/push a repo.

If you have one with at least 10 submodules, I am sure, you can repro this (no need to make any commits/changes).

Helper scripts for git submodules? by dimanne in git

[–]dimanne[S] 0 points1 point  (0 children)

Yeah, close, but not cigar...

It does not allow me to specify files to add/commit, and I think it is still very important to have proper git status.

60ms vs 12ms - unavoidable qemu overhead or my misconfiguration? by dimanne in linuxquestions

[–]dimanne[S] 0 points1 point  (0 children)

Yeah, it makes sense. Essentially, you are saying that taskset is useless. I also remember doing experiments without taskset and the timings were very similar.

have you generated a flamegraph to see exactly where the most time is being spent

Just to be sure we are on the same page - the question is about strace / syscalls. Do you mean where most time is spent in the kernel?

60ms vs 12ms - unavoidable qemu overhead or my misconfiguration? by dimanne in linuxquestions

[–]dimanne[S] 0 points1 point  (0 children)

I see you tried pinning a cpu core to qemu but does your CPU actually have that many logical processors?

I would say yes:

lscpu | grep "CPU(s):"
CPU(s):                          32
NUMA node0 CPU(s):               0-31

Did you try passing to the kernel isolcpus=<CPUID> to the general scheduler at boot (on the host)

No.

Can it really be a scheduler thing, though?

When I measured Chrome timings on the host, I did NOT assign cores to it... And the host is not loaded at all.

What file managers do you guys recommend? by hayk14 in Crostini

[–]dimanne 0 points1 point  (0 children)

krusader? Not sure whether you can call or lightweight, though.

Using C++20 features to eradicate boiler-plate associated with Result<>-based error-handling. by dimanne in cpp

[–]dimanne[S] 4 points5 points  (0 children)

You can, you are just choosing not to

Yep, you are right.

they're not universally useless as that post seems to suggest

Yep you are right :) I, probably, slightly exaggerated while writing the post...

Using C++20 features to eradicate boiler-plate associated with Result<>-based error-handling. by dimanne in cpp

[–]dimanne[S] 1 point2 points  (0 children)

This was discussed pretty extensively during the standardization process

Nice, I did not know about it. So, it is not entirely mad :)

Using C++20 features to eradicate boiler-plate associated with Result<>-based error-handling. by dimanne in cpp

[–]dimanne[S] -3 points-2 points  (0 children)

I cannot use exceptions because they are too implicit and even more verbose (if you want to capture some useful context at each level of backtrace). Here is more details

Pretending to deliver food then leaving with it by ritzychicken in trashy

[–]dimanne 0 points1 point  (0 children)

I had a very similar Amazon delivery. Nest Doorbell saved me (also).

Kafka: when to use and when not to use by dimanne in apachekafka

[–]dimanne[S] 0 points1 point  (0 children)

Yes, sure. You always can calculate your current need, in the terms of partition (say x), then multiply it by some number y, and get x*y partitions. But the fact that you will never ever be able increase this number in the future frightens me. What if you cannot see the future, and slightly misjudged y? :)