David Sparer
4fa68e3bb0
when decrypting xml cred repos, we must be able to decrypt the auth header
2017-04-14 15:09:30 -06:00
David Sparer
2f20acfa34
fixed some more empty string deserialization bugs
2017-04-12 17:50:55 -06:00
David Sparer
3291c24c8c
created SecureSerializer abstraction
2017-04-12 12:39:38 -06:00
David Sparer
e9d41fd01b
changed interface for loading credentials from a repo to get around issues with providing a key
2017-04-06 09:16:14 -06:00
David Sparer
8439d6d3aa
lots of reworked interfaces around cred repo serialization
...
- decryptors now expose a property that represents what key they will use for decrypt. this can be used by decorators to properly encapsulate password prompts
- added some basic acceptance tests around cred repos
- added some stubby implementations for IDataProvider and the key provider decorators
2017-04-03 20:09:47 -06:00
David Sparer
ae3fb9a2dd
added iKeyProvider interface for dynamically retrieving keys/passwords
...
this will support the push towards constructor injection / decorators. this interface can act as a stand-in for what would otherwise be a static decryption key
2017-04-03 12:40:07 -06:00
David Sparer
e436a31a18
split up crypto provider factories and created an interface
2017-04-02 22:33:36 -06:00
David Sparer
2387f183e9
added password decryption decorator
2017-04-02 21:28:50 -06:00
David Sparer
a8e022cab4
added some lifecycle tests for the cred de/encrypt
2017-04-02 19:32:49 -06:00
David Sparer
579e8abda1
refactored tests for less duplication
2017-04-02 18:42:15 -06:00
David Sparer
4d44440e90
removed some more unnecessary args
2017-04-02 17:42:51 -06:00
David Sparer
709f914561
removed unnecessary arguments related to encrypting xml creds
2017-04-02 17:36:05 -06:00
David Sparer
e886619b22
simplified the implementation of the xml cred deserializer
...
removed anything to do with encryption which will be handled by decorators
2017-04-02 17:22:42 -06:00
David Sparer
fa5f423bbd
added decorator for encrypting credential xml files
2017-04-02 14:26:47 -06:00
David Sparer
fbfe664438
replaced duplicate code
2017-02-14 14:58:09 -07:00
David Sparer
b52b5b4287
renamed class
2017-02-14 14:53:20 -07:00
David Sparer
ba3513341a
moved some source files into folders
2017-02-14 14:50:12 -07:00