Home Page The Club Computers News Links Glossary EYAWTK
Before Amiga Background ICS OCS ECS AGA ??? AmigaOne
U-Boot SLB Linux Amiga OS Dual Boot Motherboards Peripherals Other
Initialisation Installation OS4 Updates About OS4 File Systems Networking Printing Other
Introduction File System Workbench Preferences Commands Error Msgs Miscellaneous

AmigaOS 4.0 - About OS4 - Commands

FS_PLUGIN_ENCRYPT AmigaDOS
Purpose: To demonstrates the block transform plugin feature of the new file system API.
Format: fs_plugin_encrypt DEVICE=<device> [BLOCKS<number>] [QUIET]
Template: DEVICE/A, BLOCKS/K, QUIET/S
Path: C:FS_PLUGIN_ENCRYPT
The 'fs_plugin_encrypt' command demonstrates the block transform plugin feature of the new file system API. While it is an experimental feature, you can still give it a spin and expect something useful to be accomplished. This plugin performs on the fly data encryption and decryption on the file system it works on.

Note: you have to reformat a file system with the encryption plugin installed in order to use it.

DEVICE=<device> specifies the name of the device to use encryption on. Note that <device> must be the name of a file system which supports the plugin interface, such as the FFS reimplementation.

The BLOCKS=<number> parameter can be used to specify how many data blocks the file system should encrypt at a time. The more blocks it uses, the faster it can encrypt data to be written to disk.

The QUIET option tells the program not to announce what it is about to do, except for printing error messages and prompting you to enter the password.

The program begins by asking you for a password to use for encryption. Type your password, then press the [Return] key to begin. Note that you can abort the password entry at any type by pressing [Ctrl]+C. Your password will be used to set up a block cipher algorithm by the name of "Blowfish". Next, the file system will be taken out of service temporarily, the plugin will be installed and the file system will be reactivated. If you entered the correct password, the file system will suddenly start to make sense of the encrypted data.

The block transform plugin feature permits you to cascade plugins. That is, you can set up several plugins with different passwords on the same device. Note that the order in which the plugins are set up defines the order in which the encryption will be applied. When you want to access your data later, you will have to set up the different encryptions in exactly the same order again.

One last word of warning: do not forget your password! The Blowfish cipher is hard to break, and it doesn't get any easier because the password does not go directly into the cipher algorithm (it passes through a message digest algorithm first, which generates the digest which then keys the Blowfish cipher). Experiment with caution!

Example:

3.OS4:> FS_PLUGIN_ENCRYPT DH8: Installs the encryption plugin for DH8:.


Return to Commands Selection

Disclaimer: Amiga Auckland have prepared the above Information for the use of its members based on our experiences and as such is subject to revision at any time. Amiga Auckland cannot guarantee any of the Information and cannot be held accountable for any issues that may result from using it.


Copyright 2006 Amiga Auckland Inc. All rights reserved.
Revised: December 24, 2006.