-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implemented getrandom, and /dev/urandom
We now handle return values from system calls correctly. Added dettraceDebug environment variable. ssh-keygen example working and added to testing suite.
- Loading branch information
gatowololo
committed
Mar 8, 2018
1 parent
04efe5d
commit 46978f5
Showing
10 changed files
with
169 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
Generating public/private rsa key pair. | ||
Your identification has been saved in thisKey. | ||
Your public key has been saved in thisKey.pub. | ||
The key fingerprint is: | ||
SHA256:3JwulFT0YRAqKcWYs04SE4QokjE6eyWEcNv+RdHnSBQ nobody@ | ||
The key's randomart image is: | ||
+---[RSA 2048]----+ | ||
|**=. +. .+E+o | | ||
|O+oo+... +oo.. | | ||
|= oo+oo +. +. | | ||
| o.+o. = +... | | ||
|. .+. S + | | ||
| . .. o . | | ||
| . . . | | ||
| . | | ||
| | | ||
+----[SHA256]-----+ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
res: {.tv_sec = 0, .tv_nsec = 0} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#include <stdlib.h> | ||
|
||
int main(){ | ||
// No error if file not found. | ||
system("rm -f thisKey"); | ||
system("rm -f thisKey.pub"); | ||
system("ssh-keygen -f thisKey -N \"\""); | ||
} |
Oops, something went wrong.