This file contains hidden or 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
#!/usr/bin/python3 | |
# requires gokey, keyutils, openssl, tpm2-tools | |
# configure with | |
# echo 'create * tpm2:derived:* * |<path to this script> %t %d %c %u %g' > /etc/request-key.d/derived.conf | |
import hashlib | |
import os | |
import subprocess | |
import sys |
This file contains hidden or 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
/* Copyright (c) 2014, Ignat Korchagin <[email protected]>, Ilya Petrov <[email protected]> | |
All rights reserved. | |
Redistribution and use in source and binary forms, with or without | |
modification, are permitted provided that the following conditions are met: | |
* Redistributions of source code must retain the above copyright notice, this | |
list of conditions and the following disclaimer. | |
* Redistributions in binary form must reproduce the above copyright notice, |
This file contains hidden or 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
diff --git a/Configure b/Configure | |
index f0fadaa..c6aed3c 100755 | |
--- a/Configure | |
+++ b/Configure | |
@@ -1034,6 +1034,10 @@ | |
$disabled{"ecdsa"} = "forced"; | |
$disabled{"ecdh"} = "forced"; | |
} | |
+if (defined($disabled{"ec2m"})) | |
+ { |
This file contains hidden or 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
/* | |
============================================================================ | |
Name : filecrypt.c | |
Author : Ignat | |
Version : | |
Copyright : Public domain | |
Description : File cryptor in C, Ansi-style | |
============================================================================ | |
*/ |