external: SETCREDS include creds in externalConfigChanges
This makes the creds get saved, since only things recorded there will be saved. IIRC, unparsedRemoteConfig was not originally available when I implemented this; now that it is things get a bit simpler. More could probably be simplified, is externalConfigChanges needed at all? This does not entirely fix the bugs though, because creds are only embedded when embedcreds=yes, but not when encryption=pubkey is used without embedcreds=yes.
This commit is contained in:
parent
9fb549b3f1
commit
a1d4c8e4ec
4 changed files with 40 additions and 19 deletions
|
@ -36,6 +36,7 @@ data EncryptionMethod
|
|||
|
||||
-- XXX ideally, this would be a locked memory region
|
||||
data Cipher = Cipher String | MacOnlyCipher String
|
||||
deriving (Show) -- XXXDO NOT COMMIT
|
||||
|
||||
data StorableCipher
|
||||
= EncryptedCipher String EncryptedCipherVariant KeyIds
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue