Comments (2)
Try doing a gpg --card-status
, followed by a gpg -K
. If you see a sec#
before your primary key, it means that the private key isn't loaded in the keyring. Generally once you load your keys onto your device, the instructions have you remove the private key from your keyring (this is good practice). If this is the case, you won't be able to add a UID to your public key without your private key. Access your (hopefully offline and/or encrypted) private key and do a gpg --import $PRIVATEKEY
. Add your UID, then re-export your public key using gpg --armor --export $KEYID
.
from yubikey-guide.
Thank you. That's the solution.
from yubikey-guide.
Related Issues (20)
- Unable to get keytocard subcerts to yubikey 5 NFC (piv) :-/ HOT 2
- YubiKey (GPG and ssh keys) HOT 1
- GPG acts like my YubiKey isn't plugged in HOT 8
- A project that encapsulates pagent's shared memory interface into a named pipe to replace SSH_AUTH_SOCK HOT 1
- NixOS image as a flake HOT 14
- Timeout does not work in pam_u2f.so module HOT 1
- is the "Using Multiple Keys" section still accurate? HOT 1
- Private keys exportable HOT 3
- Little Snitch & Steven Black host
- Win 11 + Smarcard: SSH public key authentication fails HOT 1
- `gpg --armor --export-secret-key username@email` still outputs a private key HOT 5
- RSA Authenticate sub key shows capability as AR HOT 2
- Request: upload protonmail private key to yubikey HOT 3
- Multiple hosts section removal HOT 3
- `GNUPGHOME` should be exported HOT 1
- Issue with fdisk HOT 2
- Problem with renewing expired subkeys HOT 2
- doas command missing when exporting public key (nixos) HOT 2
- Missing section for adding uids HOT 2
- Why LUKS instead of .tar.gpg? HOT 2
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 yubikey-guide.