That's probably because what I provided isn't a complete script, but rather an example of what it would look like when done manually. Posting again with comments to clarify:
All you have to do is substitute the filenames I used with those you have. As soon as you've got that down, start using variables instead of filenames. And when that's done you can start with the for loop.
I've been blessed with the task of writing functions that will be used to encrypt / decrypt data files using the Gnupg (gpg command) software on our Solaris 9. This was just installed last friday and I've got no documentation other than what I've found on the web.
I was successful in writing... (4 Replies)
Hi,
I have imported the details given by my friend using
gpg --import <file>
Now i am using the encryption technique with my friend's key in the following way:
gpg --output out.pgp --batch --encrypt --recipient "FRIEND_KEY" test
and i am getting the follwoing error:
gpg: 421E287E:... (4 Replies)
I have some sensitive data I would like to keep on a thumb drive.
Now I know this is a UNIX/Linux forum and I regret to say that I'm using windows but I'm hoping that is irrelevant.
So I install gpg on both windows machines: one at home and the other at work.
I encrypt some stuff on the... (2 Replies)
Hello,
I wish to update a debian 4.0 server we have but cannot get past the following error message.
my keys are as follows:
Any help would be good. (0 Replies)
Hello all
I have installed gpg key be executing command
gpg --gen-key and followed the on screen prompts.
I have done all this stuff from my home directory
Now i am unable to see the results. Where are these keys stored. Doesn't it create a new folder in my home directory and create the... (1 Reply)
Folks,
Is there anyone to help on GPG file encryptions here.
I got a public key from third party. I imported the key in server.
I want to encrypt the public key. But without being signed , the key cannot be encrypted.
When I try to sign the key using lsign command,
I am getting the below... (1 Reply)
I am trying to use gig in linux but it is hanging.
$ gpg --passphrase=test /tmp/test.sh
Reading passphrase from file descriptor 0 ...
When i press enter, it gives the below message:
$ gpg --passphrase=test /tmp/test.sh
Reading passphrase from file descriptor 0 ...
gpg: no valid... (1 Reply)
Hi,
While m using gpg manually it works fine. I want to include this command in my auto script. how to pass the passphrase and Use this key anyway? (y/N) in my script. Advance thanks.
$ gpg --sign --output xx.gpg --encrypt --recipient GXS_CTE xx.ext
You need a passphrase to unlock the secret... (3 Replies)
Hi. I'm hitting issues using gpg to encrypt a text file on Linux.
gpg -c --passphrase 123 --cipher-algo AES256 test
gpg: cancelled by user
gpg: error creating passphrase: Operation cancelled
gpg: symmetric encryption of `test' failed: Operation cancelled
In this case the file test just... (3 Replies)
Discussion started by: user052009
3 Replies
LEARN ABOUT CENTOS
set_color
set_color(1) fish set_color(1)NAME
set_color - set_color - set the terminal color
set_color - set the terminal color
Synopsis
set_color [-v --version] [-h --help] [-b --background COLOR] [COLOR]
Description
Change the foreground and/or background color of the terminal. COLOR is one of black, red, green, brown, yellow, blue, magenta, purple,
cyan, white and normal.
o -b, --background Set the background color
o -c, --print-colors Prints a list of all valid color names
o -h, --help Display help message and exit
o -o, --bold Set bold or extra bright mode
o -u, --underline Set underlined mode
o -v, --version Display version and exit
Calling set_color normal will set the terminal color to whatever is the default color of the terminal.
Some terminals use the --bold escape sequence to switch to a brighter color set. On such terminals, set_color white will result in a grey
font color, while set_color --bold white will result in a white font color.
Not all terminal emulators support all these features. This is not a bug in set_color but a missing feature in the terminal emulator.
set_color uses the terminfo database to look up how to change terminal colors on whatever terminal is in use. Some systems have old and
incomplete terminfo databases, and may lack color information for terminals that support it. Download and install the latest version of
ncurses and recompile fish against it in order to fix this issue.
Version 1.23.1 Sun Jan 8 2012 set_color(1)