Hm. I've recently encrypted my passwords file with GPG, and now I can't figure out how to make sure my password is required every time. It asks for my password, but doesn't give me time to type it before it spits out the whole file. Oh, well. It's time for bed. Good night all! (if anyone is here.)
I tried using pass. It doesn't ask for my password.
Package pinentry is a virtual package provided by: pinentry-qt4 0.8.3-1ubuntu1 pinentry-curses 0.8.3-1ubuntu1 mew-bin 1:6.5-7 mew-beta-bin 7.0.50~6.5+0.20140128-1 pinentry-gtk2 0.8.3-1ubuntu1 You should explicitly select one to install.
yeah but in his language all are considered as strings , and whenever it is reqd it is converted to numbers. so it would produce -1 as result instead of concatenation
Yes. Some said that it's because gpg-agent is storing the password, so I tried the various ways of telling gpg-agent to set the cache length to 1 second, and I also tried using --no-use-agent when encrypting the file. So far, nothing has worked.
It would probably be closed as a duplicate of something that doesn't work. I have the same symptoms as many other people; it's just that their solutions don't work for me.
The encryption tool of gnuPG package gpg prompts for passphrase using a GUI dialog box when invoked by a regular user, however when invoked by root it prompts on CLI. How to make it use the CLI even when invoked by a regular user.
version:GnuPG 1.4.12
array.init a
array.push a 4 2 1 4 0
array.length a
let n %retval
let i 0
loop1:
let min :i
add i 1
let j %retval
loop2:
array.get a :j
let a[j] %retval
print reached
array.get a :min
let a[min] %retval
if :a[j] < :a[min] let min :j
array.get a :i
let temp %retval
array.set a :i :a[min]
array.set a :min :temp
add :j 1
let j %retval
if :j < :n goto loop2
add :i 1
let i %retval
if :i < :n goto loop1
array.tostring a