Woohoo! Filo's agent setup routine goes through!

% yubikey-agent -setup --really-delete-all-piv-keys
Resetting YubiKey PIV applet...
πŸ” The PIN is up to 8 numbers, letters, or symbols.
πŸ‘† You'll need it once per session.
❌ The YubiKey gets locked if the wrong PIN is entered 3 times.

Choose a new PIN:
Repeat PIN:
πŸ§ͺ Reticulating splines...

βœ… Done! This YubiKey is secured and ready to go.🀏 When the YubiKey blinks, touch it to authorize the login.πŸ”‘ Here's your new shiny SSH public key:ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBNAn1mgsUfJ0eA+cbvPcJBilynMKI9lIlpeZWMAHlZGe3dK62CxD5z7RQ/KdnXxQqQOP/qt1xdDOJDn3NjQrtRU=

Next steps: ensure yubikey-agent is running via launchd/systemd/...,set the SSH_AUTH_SOCK environment variable, and test with "ssh-add -L"

πŸ’­ Remember: everything breaks, have a backup plan for when this YubiKey does.
This commit is contained in:
Nicolas Stalder
2020-05-16 14:48:23 +02:00
parent eb29b38041
commit 6a1bbf831f
+5 -1
View File
@@ -3,7 +3,7 @@ pub mod instruction;
pub type Data = heapless_bytes::Bytes<crate::MAX_COMMAND_DATA>;
#[derive(Clone, Debug, PartialEq)]
#[derive(Clone, Debug, PartialEq, Eq)]
pub struct Command {
class: class::Class,
instruction: instruction::Instruction,
@@ -37,6 +37,10 @@ impl Command {
&self.data
}
pub fn data_mut(&mut self) -> &mut Data {
&mut self.data
}
pub fn expected(&self) -> usize {
self.le
}