You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm developing a UserGPGKey class to expose this library to GitHub's REST API endpoints for GPG keys. The UserGPG class is moduled similar to the already-existing UserKey class. The necessiary modifcations have been made to NamedUser and AuthenticatedUser in order to access GPG keys after authentication.
Problem
In the tests of UserKey, AuthenticatedUser, and NamedUser tests, there is information provived on some SSH keys which from my understanding comes from @jacquev6. Here are screenshots from the codebase showcasing what I am refering to:
For clarity, the fork can be found here, and the relevant commits/changes here.
austinlucaslake
changed the title
Need GPG key id for UserGPGKey class
Hardcoded KNeed GPG key id for UserGPGKey class
Apr 28, 2024
austinlucaslake
changed the title
Hardcoded KNeed GPG key id for UserGPGKey class
Hardcoded keys in codebase. Do I need to hardcode my own GPGs for new U
Apr 28, 2024
austinlucaslake
changed the title
Hardcoded keys in codebase. Do I need to hardcode my own GPGs for new U
Hardcoded ssh keys in codebase. Do I need to hardcode my own GPGs for new UserGPGKey class?
Apr 28, 2024
austinlucaslake
changed the title
Hardcoded ssh keys in codebase. Do I need to hardcode my own GPGs for new UserGPGKey class?
Hardcoded ssh keys in codebase. Do I need to hardcode my own GPG keys for new UserGPGKey class?
Apr 28, 2024
austinlucaslake
changed the title
Hardcoded ssh keys in codebase. Do I need to hardcode my own GPG keys for new UserGPGKey class?
Do I need to hardcode my own GPG keys for new UserGPGKey class?
Apr 28, 2024
Background
I'm developing a
UserGPGKey
class to expose this library to GitHub's REST API endpoints for GPG keys. The UserGPG class is moduled similar to the already-existingUserKey
class. The necessiary modifcations have been made toNamedUser
andAuthenticatedUser
in order to access GPG keys after authentication.Problem
In the tests of UserKey, AuthenticatedUser, and NamedUser tests, there is information provived on some SSH keys which from my understanding comes from @jacquev6. Here are screenshots from the codebase showcasing what I am refering to:
tests/UserKey.py
tests/AuthenticatedUser.py
tests/NamedUser.py
What I'd like to know is if I'd need something similar and hardcode information from my own GPG key(s) into the testing code for UserGPGKey?
If possible, I'd like to avoid doing this for privacy reasons.
Thanks in advance for reading this rather lengthy issue! 😅
The text was updated successfully, but these errors were encountered: