Skip to content

Commit db613c9

Browse files
ninthclowdjonasstein
authored andcommitted
1 parent 50e0d69 commit db613c9

26 files changed

+11796
-20
lines changed

AUTHORS

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
stenc AUTHORS
2+
===============================================================================
3+
4+
The authors of stenc are
5+
6+
John Coleman <[email protected]>
7+
Samuel Martinez Jr. <[email protected]>
8+
9+

LICENSE COPYING

+21-20
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
GNU GENERAL PUBLIC LICENSE
2-
Version 2, June 1991
1+
GNU GENERAL PUBLIC LICENSE
2+
Version 2, June 1991
33

4-
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
5-
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
4+
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
5+
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
66
Everyone is permitted to copy and distribute verbatim copies
77
of this license document, but changing it is not allowed.
88

9-
Preamble
9+
Preamble
1010

1111
The licenses for most software are designed to take away your
1212
freedom to share and change it. By contrast, the GNU General Public
@@ -15,7 +15,7 @@ software--to make sure the software is free for all its users. This
1515
General Public License applies to most of the Free Software
1616
Foundation's software and to any other program whose authors commit to
1717
using it. (Some other Free Software Foundation software is covered by
18-
the GNU Lesser General Public License instead.) You can apply it to
18+
the GNU Library General Public License instead.) You can apply it to
1919
your programs, too.
2020

2121
When we speak of free software, we are referring to freedom, not
@@ -55,8 +55,8 @@ patent must be licensed for everyone's free use or not licensed at all.
5555

5656
The precise terms and conditions for copying, distribution and
5757
modification follow.
58-
59-
GNU GENERAL PUBLIC LICENSE
58+
59+
GNU GENERAL PUBLIC LICENSE
6060
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
6161

6262
0. This License applies to any program or other work which contains
@@ -110,7 +110,7 @@ above, provided that you also meet all of these conditions:
110110
License. (Exception: if the Program itself is interactive but
111111
does not normally print such an announcement, your work based on
112112
the Program is not required to print an announcement.)
113-
113+
114114
These requirements apply to the modified work as a whole. If
115115
identifiable sections of that work are not derived from the Program,
116116
and can be reasonably considered independent and separate works in
@@ -168,7 +168,7 @@ access to copy from a designated place, then offering equivalent
168168
access to copy the source code from the same place counts as
169169
distribution of the source code, even though third parties are not
170170
compelled to copy the source along with the object code.
171-
171+
172172
4. You may not copy, modify, sublicense, or distribute the Program
173173
except as expressly provided under this License. Any attempt
174174
otherwise to copy, modify, sublicense or distribute the Program is
@@ -225,7 +225,7 @@ impose that choice.
225225

226226
This section is intended to make thoroughly clear what is believed to
227227
be a consequence of the rest of this License.
228-
228+
229229
8. If the distribution and/or use of the Program is restricted in
230230
certain countries either by patents or by copyrighted interfaces, the
231231
original copyright holder who places the Program under this License
@@ -255,7 +255,7 @@ make exceptions for this. Our decision will be guided by the two goals
255255
of preserving the free status of all derivatives of our free software and
256256
of promoting the sharing and reuse of software generally.
257257

258-
NO WARRANTY
258+
NO WARRANTY
259259

260260
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
261261
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
@@ -277,9 +277,9 @@ YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
277277
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
278278
POSSIBILITY OF SUCH DAMAGES.
279279

280-
END OF TERMS AND CONDITIONS
281-
282-
How to Apply These Terms to Your New Programs
280+
END OF TERMS AND CONDITIONS
281+
282+
How to Apply These Terms to Your New Programs
283283

284284
If you develop a new program, and you want it to be of the greatest
285285
possible use to the public, the best way to achieve this is to make it
@@ -303,16 +303,17 @@ the "copyright" line and a pointer to where the full notice is found.
303303
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
304304
GNU General Public License for more details.
305305

306-
You should have received a copy of the GNU General Public License along
307-
with this program; if not, write to the Free Software Foundation, Inc.,
308-
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
306+
You should have received a copy of the GNU General Public License
307+
along with this program; if not, write to the Free Software
308+
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
309+
309310

310311
Also add information on how to contact you by electronic and paper mail.
311312

312313
If the program is interactive, make it output a short notice like this
313314
when it starts in an interactive mode:
314315

315-
Gnomovision version 69, Copyright (C) year name of author
316+
Gnomovision version 69, Copyright (C) year name of author
316317
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
317318
This is free software, and you are welcome to redistribute it
318319
under certain conditions; type `show c' for details.
@@ -335,5 +336,5 @@ necessary. Here is a sample; alter the names:
335336
This General Public License does not permit incorporating your program into
336337
proprietary programs. If your program is a subroutine library, you may
337338
consider it more useful to permit linking proprietary applications with the
338-
library. If this is what you want to do, use the GNU Lesser General
339+
library. If this is what you want to do, use the GNU Library General
339340
Public License instead of this License.

ChangeLog

+78
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
2012-02-29 John Coleman <[email protected]>
2+
* Version upgraded to 1.0.6
3+
* The --protect option now should work properly and the --unprotect option has been added. If you specify neither, the drive will use it's default.
4+
* Sense data now always returns properly
5+
* Fixed a number of problems related to bit ordering in structures
6+
* Added the --enable-swapbit configure option to fix problems on AIX with the bit ordering being reversed in the structures. The program will now error out if it detects the program was compiled with the wrong option.
7+
* Added the --with-default-algorithm configure option to specify a default algorithm, so you don't have to do it with each set operation
8+
* Added the --with-default-ceem configure option in order to specify a different CEEM flag other than the drive default.
9+
* Added the --disable-device-name-conversion configure option to prevent the program from converting device names to rewinding device names
10+
* Added the --with-default-keysize configure option to specify the keysize to send to the drive when turning encryption off
11+
12+
2012-02-24 John Coleman <[email protected]>
13+
* Version upgraded to 1.0.5
14+
* Updated manual to reflect that stenc may not work if there is no tape in the device
15+
* Updated manual to reflect that keys are no longer padded
16+
* The program will now seek up to 100 blocks on the tape drive in order to determine the volume encryption status. The tape will be returned to the previous position after the status is returned.
17+
* The program now automatically converts /dev/st* device names to /dev/nst* and /dev/rmt* device names to /dev/rmt*.1 to prevent rewinding.
18+
* Updated --with-static-libgcc configure option to work on AIX
19+
20+
2012-02-22 John Coleman <[email protected]>
21+
* Version upgraded to 1.0.4
22+
* Fixed a compliler warning related to the seeding the random generator
23+
* Change the --with-statgcc configure option to --with-static-libgcc and modified that option to work with linux as well as AIX
24+
* Cleaned up various constants for consistancy
25+
* Changed some function names for consistancy
26+
* Added code to read KAD (Key Descriptors) and display them if found
27+
* Generating a key with -g now asks for a key description as well (optional)
28+
* Setting encryption without the -k option will now ask for a key description as well (optional)
29+
* Sense data is now checked and outputted if the device does not accept the command
30+
* added the 'mixed' encryption mode
31+
* added the 'rawread' encryption mode
32+
* changed the -u flag to --protect to avoid confusion and correct a mistake
33+
* added the --ckod flag to instruct the drive to clear its key when the volume is dismounted
34+
* The program now chmods /var/log/stenc to 600 to prevent unauthorized users from getting key change history
35+
* Algorithm is no longer put into /var/log/stenc. Security related.
36+
* Key checksums are now overriden by the key descriptor in /var/log/stenc. Security related.
37+
38+
2012-02-16 John Coleman <[email protected]>
39+
* Version upgraded to 1.0.3
40+
* Program now validates key input properly
41+
* Key checksums work much better
42+
* Program now displays key size, key checksum, and whether or not it is padding a key when it is entered.
43+
* Manual entry has been updated
44+
45+
2012-02-15 John Coleman <[email protected]>
46+
* Version upgraded to 1.0.2
47+
* Created 'man' entry for stenc and updated help file to reference manual
48+
* Key Instance Counter is now stamped into the log file when turning off encryption
49+
* Key Instance Counter is now displayed in the device status even when it is not encrypting
50+
51+
2012-02-15 Sam Martinez <[email protected]>
52+
* Version upgraded to 1.0.1
53+
* Added random key generator
54+
55+
2012-02-14 John Coleman <[email protected]>
56+
* Version upgraded to 1.0.0
57+
* Removed most C code and replaced with C++ code
58+
* Simplified all command line arguments
59+
* Added a key change audit log file (/var/log/stenc)
60+
* Removed the ability to enter a key as part of the command (security related)
61+
* Key entry is now hidden from stdout and is verified for accuracy
62+
* Added the ability to use file for a key using the -k option
63+
* Program now exits if you aren't root
64+
* added the --with-statgcc configure option to link static libgcc libraries
65+
66+
2010-09-03 John Coleman <[email protected]>
67+
68+
* Program now prompts if you turn encryption completely off
69+
* Added -f option to suppress prompting
70+
* Program now displays proper ioctl errors (i.e. I/O, permission, etc.)
71+
* Device vendor, product ID, and product revision are now displayed with each request
72+
* Errors now properly display whether or not the device accepted the command
73+
74+
2010-09-02 John Coleman <[email protected]>
75+
76+
* Initial Release
77+
* Added basic support for AIX 5.3, error codes still not outputted
78+

0 commit comments

Comments
 (0)