Comments (3)
Agree with your comment, generally speaking. If I had any control of the upstream code (PuTTY), I would definitely change it. And like 100 other things -- I'm definitely not a fan of the PuTTY codebase (e.g., terrible indenting, lots of correctable warnings in Visual Studio). Being that I don't have control of upstream code, I try to follow the axiom of only making delta changes in the code style / technique of the original file even if those aren't best practices. While it may introduce room for error as you indicated, so does making larger changes to sections of code we'll have to try to merge later. If you can convince the maintainers of PuTTY to make the corresponding changes in the upstream first, PuTTY CAC will gladly adapt.
The only thing I see wrong in the second link is the comment next to the case statement -- which I will fix. Please let me know if you see something else.
from putty-cac.
I suspected that you were just trying to stick with what upstream does, but applying best practice to new code is also doable here ("Add PKCS Cert", "Add CAPI Cert", and their IDs are "new" to upstream Putty).
Regarding the second link: Yes; I was referring to the comments. I do understand there is no functional difference between the comment or case order, but I thought it was at least notable. That kind of thing has potential to cause issues in development, because of people of applying their code around what the comment says and nobody noticing it's wrong.
from putty-cac.
Addressed in latest commit (5f74bce).
from putty-cac.
Related Issues (20)
- License? HOT 2
- Missing CAPI option in GUI HOT 1
- Can I use pass-phrase protected ed25519-sk private key combined with FIDO2 token with putty-cac? HOT 2
- Request: Test PuTTY CAC 0.79 HOT 3
- [feature request] blacklist CN regex on autoload HOT 6
- PuTTY-CAC from Windows VM running in QEMU/KVM HOT 5
- Request: Add FIDO2 Display Name Textbox HOT 9
- Specify/Force authentication to a proxy without pagent HOT 5
- putty-cac not seeing all certificates on PIV/CAC HOT 2
- PKCS#11 fails intermittently on Windows 10 with "sign_and_send_pubkey: signing failed for RSA "..." from agent: incomplete message" HOT 46
- Feature Request: Option to disable Pin Caching for user HOT 7
- Pageant Won't Forget My Old Fido2 Keys HOT 29
- pageant PKI Pin Authentication Window does not show in taskbar HOT 10
- Problem with smartcard HOT 5
- Possible to get a digitally signed release? HOT 3
- Putty 0.81 release to fix CVE-2024-31497 HOT 6
- pageant "sign-request" not working for hardware keys HOT 8
- PuTTY-CAC implementation with Cisco Devices and/or ISE. HOT 2
- proper backup of non-residential keys? HOT 1
- SSH CAPI Cert HOT 1
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 putty-cac.