Commit Graph

27 Commits

Author SHA1 Message Date
Max Goedjen 1d4ef12546
Fix #475. (#476) 2023-07-23 21:17:27 +00:00
Chris Eldredge 0944d65ccb
Identities offers both key and certificate when both are present (#454)
* Identities offers both key and certificate when both are present

* Update Sources/Packages/Sources/SecretAgentKit/Agent.swift

---------

Co-authored-by: Max Goedjen <max.goedjen@gmail.com>
2023-03-13 00:43:19 +00:00
Max Goedjen be58ddd324
Factor out some common keychain functionality (#456)
* Factor out some common keychain functionality

* Remove redundant

* Remove redundant
2023-03-11 17:58:39 -08:00
Maxwell 43a9e287c3
Rounded out the rest of the SmartCardStore API (#450)
* Rounded out the rest of the SmartCardStore API.

* Comments and shuffling around

* Expose verify as public api

* Verification

* Tweak verify signature

* Cleanup and tests

---------

Co-authored-by: Max Goedjen <max.goedjen@gmail.com>
2023-03-12 00:21:09 +00:00
Max Goedjen f54b2a33bf
Fix a few analyzer/Xcode 13.4b1 warnings (#449)
* Fix missing combine imports

* Fix a few other new warnings
2023-02-19 01:37:38 +00:00
Max Goedjen 480ef5392d
Fix bugs around selection after creating/deleting/updating keys (#436)
* Fix bug where new secret wouldn't be selected

* Remove keyboard shortcut for deletion
2022-12-23 04:29:51 +00:00
Max Goedjen f43571baa3
SSH Certificate Cleanup/Followup (#418)
* Don't delete public cert keys corrresponding to secretive-tracked keys

* First pass

* Fix fallback for name

* Split out into dedicated handler

* Stub add identities

* .
2022-12-21 23:18:27 -05:00
Max Goedjen 3b254d33a5
Fix for SecretAgent acting as if it has no keys after updating macOS (#427)
* Allow reload pre-op

* Fix tests

* Make sure standin keys get rewritten on force update

* Stub store
2022-12-18 07:16:56 +00:00
Max Goedjen 20cbaac6f6
Fix cstring init (#420) 2022-10-27 07:20:22 +00:00
Max Goedjen 47d736cb0d
Don't delete public cert keys corrresponding to secretive-tracked keys (#417) 2022-10-27 05:46:43 +00:00
unreality fa0e81cd8e
Initial openssh certificate support (#416)
* initial openssh certificate support

* use the certificate to construct the public key instead of storing a map in memory

* move certificate check into its own function and neaten up a few things

* final requested changes

Co-authored-by: Max Goedjen <max.goedjen@gmail.com>
2022-10-27 05:19:21 +00:00
Max Goedjen a1009d0dac
Statically load whether or not a key requires authentication before use (#357)
* Add protocol requirements

* Load auth settings.

* Updates.

* Update preview store

* Add lock icon
2022-02-25 06:59:35 +00:00
Max Goedjen ae7394f771
Update Agent.swift (#359) 2022-02-25 06:57:29 +00:00
Max Goedjen 067f1526b0
Fix local generation by ensuring generation happens only after local store reload (#351) 2022-02-17 07:05:24 +00:00
Max Goedjen f43dea0d0d
Specify immediate delivery (#350) 2022-02-17 06:50:48 +00:00
Max Goedjen db8833fa25
Switch key reps to an md5 based name (#349) 2022-02-17 06:15:47 +00:00
David Gunzinger 03d3cc9177
wait for new packets on the agent socket after the handler is invoked… (#267)
* wait for new packets on the agent socket after the handler is invoked. this fixes https://github.com/maxgoedjen/secretive/issues/244

* handle closing of the socked

* fix compile

Co-authored-by: David Gunzinger <david.gunzinger@smoca.ch>
2022-01-31 07:53:02 +00:00
Max Goedjen 05c5aca9b6
Project public key files for use in configs (#264) 2022-01-02 23:25:40 -08:00
Max Goedjen 5894bbca00
Unbreak (#318) 2022-01-03 07:13:02 +00:00
Max Goedjen 3df7ce6256
DocC extensions (#315)
* Add extensions.

* Cleanup
2022-01-02 23:19:36 +00:00
Max Goedjen b0322b4c1f
Document SecretAgentKit (#312)
* Kit

* More

* More

* More

* Organization
2022-01-02 06:54:22 +00:00
Max Goedjen da2c460c60
Break up Brief + Document (#311) 2022-01-02 05:46:01 +00:00
Max Goedjen eb282b4116
Docs (#310) 2022-01-02 02:45:03 +00:00
Max Goedjen fb6cebe92f
Add docs (#309) 2022-01-02 02:39:21 +00:00
Max Goedjen 22d9b37d63
Docs for SecretKit (#306)
* Start docc

* Docs

* .

* More
2022-01-02 02:10:44 +00:00
Max Goedjen ee3e844519
Ignore workspace data (#299) 2022-01-02 00:49:15 +00:00
Max Goedjen 3f34e91a2c
Split out libraries into SPM packages (#298) 2022-01-01 16:43:29 -08:00