Subscribe: Comments for G-Loaded!
http://www.g-loaded.eu/comments/feed/
Added By: Feedage Forager Feedage Grade B rated
Language: English
Tags:
code  comment  expiration date  file usr  file  george notaras  key  line  read  tarfile line  usr lib  veritar veritar  veritar 
Rate this Feed
Rate this feedRate this feedRate this feedRate this feedRate this feed
Rate this feed 1 starRate this feed 2 starRate this feed 3 starRate this feed 4 starRate this feed 5 star

Comments (0)

Feed Details and Statistics Feed Statistics
Preview: Comments for G-Loaded!

Comments for G-Loaded Journal



Open-source software and technology blog



Last Build Date: Fri, 01 Apr 2016 05:25:17 +0000

 



Comment on Use wget or curl to download from RapidShare Premium by George Notaras

Fri, 01 Apr 2016 05:25:17 +0000

Hi Daniel, As far as I can tell, in the snippet above cat is used without any parameters, in which case it just copies standard input to standard output. In this particular case, it receives data from the $DLBASKET named pipe and prints it to standard output.



Comment on Use wget or curl to download from RapidShare Premium by Daniel

Fri, 01 Apr 2016 04:37:31 +0000

Can you please explain the use of cat?



Comment on VeriTAR – Verify checksums of files within a TAR archive by George Notaras

Thu, 18 Feb 2016 15:42:42 +0000

Hello Monica, Thanks for your feedback. I'm sorry for the late reply, but your comment for some reason had been caught by the spam filter. As far as I can remember, I had developed this script using python 2.4. Maybe some things have changed since then in the tarfile module of the Standard Library. Time permitting I'll try to take a look at it again. BTW, there is a 0.4.0 (refactored) release over at Github: https://github.com/gnotaras/veritar/releases I have no idea if it's going to work though.. The point is that I've stopped using or developing this script, so I highly recommend using an alternative utility that is actively maintained to get this job done. Best Regards, George



Comment on How to extract RPM or DEB packages by George Notaras

Thu, 18 Feb 2016 15:23:21 +0000

Thanks for pointing that out Steve!



Comment on How to extract RPM or DEB packages by Steve

Mon, 01 Feb 2016 09:08:37 +0000

Modern tars are capable of working out the archive format so using z, j or J is optional.



Comment on VeriTAR – Verify checksums of files within a TAR archive by Monica

Mon, 25 Jan 2016 19:18:01 +0000

Hello, I have been trying to use the veritar.py in a bash script and it seems to work, but I always get the following messages in the error file:
veritar-0.3.0/VeriTAR.py:31: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import md5	# for compatibility with older Python versions
Traceback (most recent call last):
  File "veritar-0.3.0/veritar", line 25, in 
    VeriTAR.main()
  File "veritar-0.3.0/VeriTAR.py", line 294, in main
    x.verify()
  File "veritar-0.3.0/VeriTAR.py", line 239, in verify
    checksum = self.__member_md5sum(member)
  File "veritar-0.3.0/VeriTAR.py", line 210, in __member_md5sum
    checksum = get_member_md5sum(f)
  File "veritar-0.3.0/VeriTAR.py", line 72, in get_member_md5sum
    data = f.read(READ_BLOCK)
  File "/usr/lib64/python2.6/tarfile.py", line 816, in read
    buf += self.fileobj.read(size - len(buf))
  File "/usr/lib64/python2.6/tarfile.py", line 734, in read
    return self.readnormal(size)
  File "/usr/lib64/python2.6/tarfile.py", line 743, in readnormal
    return self.fileobj.read(size)
  File "/usr/lib64/python2.6/tarfile.py", line 567, in read
    buf = self._read(size)
  File "/usr/lib64/python2.6/tarfile.py", line 584, in _read
    buf = self.cmp.decompress(buf)
EOFError: end of stream was already found
*****************************************************************
Could you please advice me what I should do to fix this? Thank you. Best, Monica



Comment on How to change the expiration date of a GPG key by George Notaras

Wed, 13 Jan 2016 00:07:58 +0000

Hi, There is the --batch switch, but as far as I know it only works with the --gen-key command for unattended key pair generation. You can always create an automated script using the expect Unix utility for this kind of automated interaction. Hope this helps!



Comment on How to change the expiration date of a GPG key by Prad

Tue, 12 Jan 2016 17:07:58 +0000

echo 1234| gpg2 --passphrase-fd 0 --edit-key keyname@example.com expire
This will take the passphrase without prompting. But I am unable to automate the rest of the commands that follow expire, like specifying the expiry date and finally saving it. Is there a way to do this without interference? Anything you can point me too, absolutely no help on this one.



Comment on How to change the expiration date of a GPG key by George Notaras

Thu, 07 Jan 2016 23:59:06 +0000

Unfortunately, no. The availability of the private key is mandatory before changing the expiration date of a public key.



Comment on How to change the expiration date of a GPG key by George Notaras

Thu, 07 Jan 2016 23:57:45 +0000

Changing the expiration date in non interactive mode is something I haven't tried, but it's a good idea. Please keep in mind that you will have to pass the passphrase of your private key before the change takes effect and, if this step is one non interactively, might be a security risk.