213. SignatureCheckDialogs

213.1. Summary of Module Globals

List of Global Functions

List of Global Variables

    213.2. Global Functions

    213.2.1. CheckSignatures

    A semi-public helper. Convert the kernel parameter to the sysconfig string

    Return value

    • string - sysconfig value: yes, yast, no

    213.2.2. CheckSignaturesInYaST

    Should signatures be checked at all? Check a sysconfig variable (or a kernel parameter for the 1st installation stage).

    Return value

    • boolean - do checking?

    213.2.3. GetDefaultDialogReturn

    Function returns the default popup return value for case when user selected "don't show again"

    Function parameters

    • string popup_type

    • string popup_url

    Return value

    • boolean

    213.2.4. GetShowThisPopup

    Function returns whether user want's to show the dialog (again). true is the default if nothing is set.

    Function parameters

    • string popup_type

    • string popup_url

    Return value

    • boolean - show the dialog

    213.2.5. ImportGPGKeyDialog

    ImportGPGKeyDialog

    Function parameters

    • string key_id

    • string key_name

    • string key_location

    • string fingerprint

    Return value

    • symbol

    213.2.6. ImportUntrustedGPGKeyIntoTrustedDialog

    ImportUntrustedGPGKeyIntoTrustedDialog

    Function parameters

    • string key_id

    • string key_name

    • string fingerprint

    Return value

    • boolean - whether zypp should import the key into the keyring of trusted keys

    213.2.7. ItemSignedWithPublicSignature

    Used for file or package signed by a public key. This key is still not listed in trusted keys.

    Function parameters

    • symbol item_type

    • string item_name

    • string key_id

    • string key_name

    Return value

    • symbol - `key_import, `install, `skip

    213.2.8. ItemSignedWithUnknownSignature

    Used for file or package signed by unknown key.

    Function parameters

    • symbol item_type

    • string item_name

    • string key_id

    • string fingerprint

    • string key_name

    • string dont_show_dialog_ident

    Return value

    • boolean - true if 'yes, use file'

    213.2.9. SetDefaultDialogReturn

    Function sets the default dialog return value for case when user selected "don't show again"

    Function parameters

    • string popup_type

    • boolean default_return

    • string popup_url

    Return value

    • void

    213.2.10. SetShowThisPopup

    Functions sets whether user want's to show the dialog again

    Function parameters

    • string popup_type

    • boolean show_it

    • string popup_url

    Return value

    • void

    213.2.11. UseCorruptedItem

    Used for corrupted file or package. Opens dialog asking whether user wants to use this corrupted item.

    Function parameters

    • symbol item_type

    • string item_name

    • string key_id

    • string key_name

    • string fingerprint

    Return value

    • boolean - use or don't use ('true' if 'yes')

    213.2.12. UseItemWithNoChecksum

    Used for file or package on signed source but without any checksum. Opens dialog asking whether user wants to use this item.

    Function parameters

    • symbol item_type

    • string item_name

    • string dont_show_dialog_ident

    Return value

    • boolean - use or don't use ('true' if 'yes')

    213.2.13. UseUnsignedItem

    Used for unsiged file or package. Opens dialog asking whether user wants to use this unsigned item.

    Function parameters

    • symbol item_type

    • string item_name

    • string dont_show_dialog_ident

    Return value

    • boolean - use or don't use ('true' if 'yes')

    213.3. Global Variables

    213.4. Module Requirements

    213.4.1. Module Imports

    • DontShowAgain
    • Label
    • Linuxrc
    • Message
    • Popup
    • Stage

    213.4.2. Module Includes