Add seperate application to change the eid-PIN
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@244 96b47cad-a561-4643-ad3b-153ac7d7599c
This commit is contained in:
@@ -25,6 +25,7 @@ AC_SUBST(PYGTK_LIBS)
|
|||||||
AC_CONFIG_FILES([Makefile
|
AC_CONFIG_FILES([Makefile
|
||||||
src/Makefile
|
src/Makefile
|
||||||
src/pace-gui.desktop
|
src/pace-gui.desktop
|
||||||
|
src/change-pin.desktop
|
||||||
src/eid/Makefile
|
src/eid/Makefile
|
||||||
src/eid/eid_gui_globals.py
|
src/eid/eid_gui_globals.py
|
||||||
images/Makefile])
|
images/Makefile])
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
SUBDIRS = eid
|
SUBDIRS = eid
|
||||||
bin_SCRIPTS = eid_gui.py
|
bin_SCRIPTS = eid_gui.py \
|
||||||
|
change_pin.py
|
||||||
|
|
||||||
paceguidir = $(prefix)/bin
|
paceguidir = $(prefix)/bin
|
||||||
|
|
||||||
|
|||||||
11
eID_gui/src/change-pin.desktop.in
Normal file
11
eID_gui/src/change-pin.desktop.in
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Version=@VERSION@
|
||||||
|
Encoding=UTF-8
|
||||||
|
Name=eID
|
||||||
|
Comment=GUI zum Ändern der eID-PIN
|
||||||
|
Exec=eid_gui.py
|
||||||
|
Icon=@prefix@/share/eid_gui/images/OpenPACElogo.png
|
||||||
|
Terminal=false
|
||||||
|
Type=Application
|
||||||
|
Categories=Utility
|
||||||
|
StartupNotify=false
|
||||||
19
eID_gui/src/change_pin.py
Normal file
19
eID_gui/src/change_pin.py
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
#!/usr/bin/env python
|
||||||
|
# coding: utf-8
|
||||||
|
|
||||||
|
import sys, os, subprocess
|
||||||
|
try:
|
||||||
|
import pygtk
|
||||||
|
pygtk.require("2.0")
|
||||||
|
import gtk, gobject
|
||||||
|
except ImportError:
|
||||||
|
sys.exit(1)
|
||||||
|
|
||||||
|
from eid.eid_gui_globals import TEST_DESCRIPTION, TEST_CVC
|
||||||
|
from eid.windows import PINChanger
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
gobject.threads_init()
|
||||||
|
window = PINChanger()
|
||||||
|
window.show()
|
||||||
|
gtk.main()
|
||||||
@@ -4,7 +4,7 @@ Encoding=UTF-8
|
|||||||
Name=eID
|
Name=eID
|
||||||
Comment=GUI zur Eingabe einer PIN/CAN/PUK fuer pace-tool
|
Comment=GUI zur Eingabe einer PIN/CAN/PUK fuer pace-tool
|
||||||
Exec=eid_gui.py
|
Exec=eid_gui.py
|
||||||
Icon=@prefix@/share/pace-gui/images/OpenPACElogo.png
|
Icon=@prefix@/share/eid_gui/images/OpenPACElogo.png
|
||||||
Terminal=false
|
Terminal=false
|
||||||
Type=Application
|
Type=Application
|
||||||
Categories=Utility
|
Categories=Utility
|
||||||
|
|||||||
Reference in New Issue
Block a user