Jason Rhinelander
2ca7ef7f5f
Rename isRouter -> isSNode
...
The isRouter wording was quite confusing, especially in a call such as:
router->Configure(config, opts.isRouter, nodedb)
2021-04-19 06:58:36 -04:00
Thomas Winget
7caa87862e
standardize include format and pragma once
...
All #ifndef guards on headers have been removed, I think,
in favor of #pragma once
Headers are now included as `#include "filename"` if the included file
resides in the same directory as the file including it, or any
subdirectory therein. Otherwise they are included as
`#include <project/top/dir/relative/path/filename>`
The above does not include system/os headers.
2021-03-09 19:01:41 -05:00
Jeff Becker
bf1a692005
key manager should throw on failures
2020-10-30 15:52:19 -04:00
Jeff Becker
ad882d0d70
initial working code
2020-07-02 11:07:31 -04:00
Stephen Shelton
d8b12ce764
Let KeyManager assemble key filenames
2020-06-04 12:38:35 -06:00
Stephen Shelton
1497b829bd
Ignore our self.signed file if we're a client
2020-06-04 11:05:23 -06:00
Stephen Shelton
ac225eb65e
Testing: explicitly initialize variable
2020-05-20 15:54:22 -06:00
Stephen Shelton
de8e44ba21
Re-apply clang-format rules after rebasing
2020-04-07 14:41:11 -06:00
Stephen Shelton
7ce256d846
Prefer fs::path over std::string @ KeyManager
2020-04-07 14:25:51 -06:00
Stephen Shelton
273270916e
The Great Wall of Blame
...
This commit reflects changes to clang-format rules. Unfortunately,
these rule changes create a massive change to the codebase, which
causes an apparent rewrite of git history.
Git blame's --ignore-rev flag can be used to ignore this commit when
attempting to `git blame` some code.
2020-04-07 12:38:56 -06:00
Stephen Shelton
2c6226f54a
Backup SNApp keys when migrating to new ed25519 crypto
2019-12-06 11:21:14 -07:00
Stephen Shelton
11410a2748
Avoid trivial getters/setters in KeyManager
2019-12-06 10:31:19 -07:00
Stephen Shelton
66a058a2af
Make format
2019-12-06 10:13:09 -07:00
Stephen Shelton
eb5184ee09
Reinstate link test / update to use KeyManager
2019-12-04 13:13:41 -07:00
Stephen Shelton
23fc2ad042
Init key manager before InitOutboundLinks are configured
2019-12-03 16:55:16 -07:00
Stephen Shelton
af2259db5f
Move lokid key API request to KeyManager
2019-12-03 12:32:19 -07:00
Stephen Shelton
521ef9b5bb
Handle link transport key in KeyManager
2019-12-03 10:58:53 -07:00
Stephen Shelton
a0699ad229
Undo adding of crypto version to RouterContact, other fixes
2019-11-27 11:30:19 -07:00
Stephen Shelton
e8e2e21fa2
Reorganize priv key file loading a bit and hook KeyManager into Router
2019-11-26 12:42:41 -07:00
Stephen Shelton
7084dae79a
Implement code to move old key files out of the way
2019-11-22 16:11:59 -07:00
Stephen Shelton
fd02e3e149
Stub out KeyManager class
2019-11-21 20:57:41 -07:00