[gpg2] Pass passphrase to the agent via stdin

Hello there,
Is there a way to pass the gpg passphrase to the agent without making use of the pinentry program? E.g. by the means of stdin?
Background - what I want to achieve:
I'd like to use the neat script passmenu to copy passwords from my password database to the clipboard.
However this apparently only works if
one uses pinentry-{gtk,qt} OR
one launches the script from within a terminal window when using pinentry-curses - the reason is that a terminal window won't get opened in order to use the curses interface; the process just terminates
I don't like the graphical dialogue and I want to stick to curses. On the other hand, avoiding a terminal window is the sole purpose of the script.
I know there has to be a way to pass the passphrase to the agent, because mutt presents a custom prompt integrated in its main window IF one uses pinentry-curses. The fact that mutt nicely integrates the prompt into its interface is one of reasons to use the curses option for pinentry.
Any ideas how to circumvent the pinentry program while using the agent? Are there any alternative pinentry programs which make customization easy (i.e. which make it possible to use dmenu to enter the passphrase)?
EDIT: My google-fu didn't help my but I guess these comrades have the same problem...
Last edited by ball (2014-04-11 11:56:57)

Hi,
Same question has been asked in forums before. Please refer to the following thread for detailed responses:
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/2a31dd0c-6376-47d2-b587-aa3f40133000/how-to-pass-parameters-in-sqlserver-agent-job?forum=sqltools
Following are some of the links from above given thread. Reproduced here for easier access.
http://www.bidn.com/blogs/MikeDavis/ssis/1566/sql-2011-denali-new-ssis-parameters
http://www.bimonkey.com/2008/04/passing-variables-from-sql-agent-to-ssis/
http://www.sqlservercentral.com/Forums/Topic505921-364-1.aspx
-Vatsalya
Vatsalya - MSFT The views and opinions expressed herein are those of the author and do not necessarily reflect the views of Microsoft.

Similar Messages

  • Unable to Silent Monitor newly configured agent via SAD

    Unable to silent monitor newly configured agent via SAD (supervisor agent desktop).....attached is a screen shot of the error messages.
    I have verified the following -
    - agent is able to log in successfully...
    - supervisor is able to see the agent via realtime report etc...
    - agents that are being monitored successfully, has the same NIC card and are on the same vlan as the new agent...
    - I am able to see the new agent extension and mac address under VoIP monitoring device in the CDA (cisco desktop administration)... 
    Please advise, thanks -  

    There is a utility in the newer releases of UCCX that is included with CAD on the agent PCs that can help narrow down the cause of this problem.  On the agent PC, navigate to C:\Program Files\cisco\desktop\bin and you will see NICQ.exe.  Run this utility while the agent is on a call.  This utility captures packets on the NIC and verifies that the PC is receiving packets from the phone correctly.
    If this tool reports that it cannot find an RTP stream, it's best to focus on the agent PC and their phone configuration.  On some phones, you may need to disable the advertise G722 codec, because this is not supported with CAD monitoring/recording yet.  Also, even though the MAC address shows up correctly in CDA for their extension, it's important to make sure the extension is only used once in CUCM by searching the route plan report.  Otherwise, the VoIP Monitoring service may receive the wrong device's MAC address when trying to filter for the RTP stream.
    Make sure the PostInstall tool on the agent PC has the correct NIC selected to capture traffic on.  This is important when the agent PC has more than one NIC installed.  This utility is also in C:\Program Files\cisco\desktop\bin on the agent PC.
    If the phone seems OK but the problem remains, you can isolate it to a PC by connecting the agent's phone to another PC, like the PC of an agent that can be monitored.  If the non-working agent can be monitored using their own login to CAD and their own phone on the other agent's PC, then it's just a matter of finding differences between the two PCs that can lead to the problem.
    Thanks,
    Brendan

  • Error deploying SCCM 2007 agent via GPO

    GPO is setup correctly but noticed on the test machine which the GPO is linked I'm getting the following error message in the Application event log:
    Product: SMS Client Setup Bootstrap -- A newer version of the SMS Client Setup Bootstrap is already installed.
    The PC seems to have no issue receiving the agent via Push install. We've tried multiple steps to remove any bits and pieces of the agent left behind before trying the GPO to no avail. It's looking like the conditions have to be perfect in order for the
    GPO to work.
    Does anyone know what's causing this error to appear? Is there a particular file, folder, or registry entry the MSI is looking for? Any assistance is greatly appreciated.
    J. Swann – Information Security Engineer

    Hi,
    A simple GPO deployment will not interfere with those computers that already have the client installed.
    Best Regards,
    Joyce
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • [SOLVED] gnupg 2.1.0-4 upgrade breaks passphrase via STDIN

    I'm not exactly sure what's going wrong -- the upgrade of gnupg from 2.0.26-1 to 2.1.0-4 (which also deprecates dirmngr package) today breaks my duply/duplicity passphrase pipe via STDIN. I ran duply in preview mode and grabbed the basic command from it's initial test+encrypt:
    -- Run cmd -- Test - Encrypt to '15DE5E40' & Sign with '15DE5E40' --
    echo XXXXXX | /usr/bin/gpg --sign --default-key 15DE5E40 --passphrase-fd 0 --batch -r 15DE5E40 --status-fd 1 -o /tmp/duply.5459.1416887390_ENC -e /usr/bin/duply 2>&1
    If I run that by hand, I unexpectedly get a gpg-agent/pinentry GTK dialog popup on my desktop instead of the passphrase being accepted from STDIN; if I downgrade the gnupg package (after killing gpg-agent) + dirmngr then everything works as expected (the passphrase is accepted from STDIN). The /usr/bin/pinentry symlink points to pinentry-gtk-2 in both packages, and I don't use and fancy gnupg configs:
    $ egrep -v "^(#|$)" .gnupg/gpg*.conf
    .gnupg/gpg-agent.conf:default-cache-ttl 300
    .gnupg/gpg-agent.conf:max-cache-ttl 999999
    .gnupg/gpg.conf:require-cross-certification
    .gnupg/gpg.conf:keyserver hkp://keys.gnupg.net
    I tried adding 'pinentry-program /usr/bin/pinentry-curses' as a test and recycled gpg-agent, it "worked" but just hung on an input screen - took a look upstream and see a bunch of 2.1.0 issues but nothing that seems applicable:
    http://git.gnupg.org/cgi-bin/gitweb.cgi … ads/master
    https://bugs.g10code.com/gnupg/issue?@s … ,3,4,5,6,7
    Anyone have an idea what else to try? Nothing in the gpg-agent man page looked applicable, I'm sure it's something to do with 2.1.0 upstream...
    Last edited by TE (2014-11-28 16:39:21)

    starfry wrote:I don't know if it's related to your problem but GPG2.1 doesn't allow pass phrases to be specified in a file or on the command-line. See the page on unattended operation, look at "%ask-passphrase" and "%no-protection" https://www.gnupg.org/documentation/man … ation.html
    Thanks for the link - that's only for gen-key, however. But I do confirm the "--passphrase-fd 0" is supposed to still be working as described in the current docs:
    https://www.gnupg.org/documentation/man … ic-Options
    --passphrase-fd n
        Read the passphrase from file descriptor n. Only the first line will be read from file descriptor n. If you use 0 for n, the passphrase will be read from STDIN. This can only be used if only one passphrase is supplied.
    So in theory the functionality hasn't changed. :-/

  • What I do to pass the imported photos to the iPad (via the connection kit) for an HP notebook?

    what I do to pass the imported photos to the iPad (via the connection kit) for an HP notebook? I want to move pictures to the notebook because I'm afraid to upgrade to ios 6 and losing my photos

    You don't. The CCK doesn't support the export of photos at all. You can upload them to something like Flicker or dropbox adn then download them onto your computer.

  • [svn:osmf:] 13855: Modify plugin framework code to automatically pass MediaFactory to PluginInfo .initializePlugin via the existing metadata namespace.

    Revision: 13855
    Revision: 13855
    Author:   [email protected]
    Date:     2010-01-28 09:44:32 -0800 (Thu, 28 Jan 2010)
    Log Message:
    Modify plugin framework code to automatically pass MediaFactory to PluginInfo.initializePlugin via the existing metadata namespace.  Update unit tests.
    Modified Paths:
        osmf/branches/sprint9-candidate/framework/OSMF/org/osmf/plugin/PluginLoader.as
        osmf/branches/sprint9-candidate/framework/OSMFTest/org/osmf/plugin/TestPluginManager.as

    Revision: 13855
    Revision: 13855
    Author:   [email protected]
    Date:     2010-01-28 09:44:32 -0800 (Thu, 28 Jan 2010)
    Log Message:
    Modify plugin framework code to automatically pass MediaFactory to PluginInfo.initializePlugin via the existing metadata namespace.  Update unit tests.
    Modified Paths:
        osmf/branches/sprint9-candidate/framework/OSMF/org/osmf/plugin/PluginLoader.as
        osmf/branches/sprint9-candidate/framework/OSMFTest/org/osmf/plugin/TestPluginManager.as

  • I dont see the e-mail icons in the agent desktop

    hi, i enabled the e-mail agent funtion, i created a e-mail queue, and i made the exchange configuration, but i dont see the icons on the agent desktop
    why? does anyone know?
    the version of the ccx is the 7.0 SR5
    thanks in avanced

    The icons wont become available until the e-mail agent system is configured (via the Desktop Administrator web interface).

  • HT1369 Yes, my cousins Ipod is disabled and I connect it to itunes and it will not connect, it says "the device you have entered has a pass code, enter the passcode to connect." The problem is the keyboard to type in the pass code will not show up. What d

    Yes, my cousins iPod is disabled. It says "ipod is disabled, connect to iTunes", I did that and it will not connect to iTunes, because it needs the pass code. The pass code key board will not show up and I cant connect. Please help me figure this problem out, my cousin is depending on me. Thanks, a concern customer.

    Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
    iOS: Wrong passcode results in red disabled screen        
    If recovery mode does not work try DFU mode.
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings

  • How to pass argument to the Java Plugin JVM w/o using the Control Panel?

    I want to deploy an applet to be loaded by the Java Plug In
    and fix some settings of its Java Virtual Machine.
    The JPI Control Panel offers two ways to pass arguments to the JVM,
    none satisfactory.
    1. while interactive via the Control Panel Window.
    This cannot be a solution for a deployed applet.
    or
    2. by editing the system generated file that stores
    the settings of the Plugin Control Panel, using a property
    named javaplugin.jre.params.
    The problem with this method is that if forces to access
    and edit this property file which is stored at various locations
    depending the client platform. Then, it may collide with other
    settings for other applets.
    Is there a way to pass the arguments to the JVM
    from within the html file?
    Has anyone found a solution to this question?
    JPS

    I am interested in this issue as well.
    Did anyone find a reliable way to specify the runtime parameters that should be used by the Java Plug-in in order to execute a given Java applet?
    I believe a good place to specify these runtime parameters would be the applet's JAR manifest: only digitally signed applets should be able to set the desired runtime parameters...
    Any comments / suggestion would be greatly appreciated.
    Regards,
    Marco.

  • How to get rid of /j2ee prefix from URL when I use the OC4J via Oracle HTTP server

    In 9iAS 9.0.2 Oracle HTTP Server (OHS) is pre-configured to assign requests to the Home OC4J instance via the URL-prefix "/j2ee"/
    For example, the TEST servlet under OC4J would be passed through OHS using:
    http://urmachine:urApachePort/j2ee/TEST
    whereas in the standlone OC4J version, this URL works:
    http://urmachine:urOC4JPort/TEST
    How to get rid of /j2ee prefix from URL when I use the OC4J via Oracle HTTP Server?

    It is getting the url prefix from mod_oc4j.conf
    under /ora9ias/Apache/Apache/conf
    You can read more on this at
    http://otn.oracle.com/docs/products/ias/doc_library/90200doc_otn/web.902/a92173/confmods.htm#1008977
    -Prasad

  • Inbound Letters within the Agent Inbox

    Can someone let me know what the process is for interacting with inbound letters within the agent inbox?  We are using the OAWD transaction to upload letters into the CRM system, which then appear in the agent inbox as a Letter type.  The issue that we are having is that after you confirm the customer that is related to the letter, you no longer have the letter on the screen to view when creating additional transactions.   How is this process supposed to work in the CRM system?
    Thanks,
    Darcie

    Dear  Alfredo,
    From information provided I understand that trx: SWI1 shows no Instance of WS14000164,  although  most of your customizing looks to reviewed/set. I understand that WS14000164  has been activated (trx: CRMC_IC_MAIL_WF) and E-mail address properly maintained at SO28.
    Confirm that Event: <ICAUISUPP, MAILRECEIVED,  WS14000164>, is not getting deactivated (trx: SWE2).
    Via Event Trace (SWEL/SWELS) you can determine, if event is being triggered or not. If No Event is being triggered and E-mail actually shows at SOIN,  activate SAPConnect Trace, refer to Note:194926. Check if SAPConnect Trace provides further information
    about your case.
    From an e-mail sent by Juan Miguel Silva, I noticed you have setup SO50, as test could you please check if such entries are conflicting with E-mail handled by Workflow: WS14000164. Make note of them and remove them temporally. Repeat your test. Check if Event is triggered and Workflow is started.
    If no e-mail is shown at SOIN, confirm you have setup inbound e-mails, refer to SAP Note: 455140, if so, send for example, an inbound e-mail to a SAP-User, which can review it via SBWP. If no email is shown at SOIN, I am afraid problem would be outside SAP CRM system. You may follow Note: 607108, to send an e-mail via TELNET command to SAP CRM System to address maintained [SO28], and check if e-mail are received. If so, contact your Mail Administrator  to review why E-mails are note getting to SAP CRM System.
    Luis Vera
    AGS Primary Support, Global Support Center, Spain
    Edited by: Luis Vera on Jul 1, 2011 10:37 AM

  • Policy Agent Installation : Path to password file to identify the agent ???

    Hi,
    I am trying to install Policy Agent 2.2 on Sun App Server 9.1 which was installed via "Java EE5 SDK Update2" (java tools bundle) on Windows XP Pro.
    In the installation process, I have reached a question to which I want to know the answer.
    "Enter the path to a file that contains the password to be used for identifying the Agent."
    Could someone pls tell me the exact name of the file to find in the server hierarchy?, whose path I can search for.
    My AM is installed at location:
    "D:\Sun\SDK\domains\domain1\applications\j2ee-modules\amserver"
    Thanks in advance.
    Rahul A Honrao

    This is the way I solved it:
    1. copy default pkgadd to pkgadd.orig
    cp /usr/sbin/pkgadd /usr/sbin/pkgadd.orig
    2. create new pkgadd
    cat > /usr/sbin/pkgadd
    #!/bin/sh
    /usr/sbin/pkgadd.orig -G $*
    ^D
    3. Make /usr/sbin/pkgadd executable
    chmod 755 /usr/sbin/pkgadd
    Now install the agent.
    HTH

  • Cisco Nac agent "List of Antivirus & Anti-Spyware Products Detected by the Agent "

    Hi All,
    We have posture assessment working with cisco Nac agent. Checking only symantec Antivirus def update and installation. Since there is windows defender in all the user pcs and turned off not in use. But cisco Nac agent is showing both windows defender and symantec in List of Antivirus & Anti-Spyware Products Detected by the Agent field. We dont want windows defender to show in this list.
    Anyone encountered this list before?? Please suggest.. I want to get rid of windows defender from this list in nac agent.

    Closest enhancement I could check on this is
    CSCts34764    NAC: Request for ANY rule to pass if 1 AS/AV definition is up to date
    Currently Windows Defender AnitSpyware comes installed on all Windows 7 machines.  Many users disable this and install their own AntiSpyware product.  Currently when using the ANY AntiSpyware up to date rule, it will fail if say MSE is up to date but not Windows Defender (since it is disabled).
    This is an enhancement request to add the ability to pass the ANY check if 1 AntiSpyware or AntiVirus definition is up to date but another is installed and out of date.  Currently if a customer wants to accomplish this they need to create a rule for every AntiVirus or AntiSpyware product and use the "Any Selected Rule Succeeds" option which is very cumbersome to configure.
    ~BR
    Jatin Katyal
    **Do rate helpful posts**

  • "The Agent of this Target is Unreachable" & EMD Upload Error

    Hi There,
    I've been working on this problem for three days now and I'm stuck! Ok so here's the issues:
    I am monitoring two SQL Server via Enterprise Manager (Oracle Grid). Both worked for months, however, once the server that the SQL Servers were installed on was reboot they both were showing up "The Agent of this Target is Unreachable" in the Grid console. However, after I started and stopped the agent on the development SQL Server server it showed up in the GRID. However, the pre-production does still not show up after I start and stopped the agent on the pre-production server. When I tried to upload the agent on the pre-production server it gives the following error:
    EMD Upload Error: Upload was successful but the collection is disabled - disk full
    I deleted the access_log files and I don't see a space problem. I secured the agent. I resysnced the agent ....
    FYI the Grid is on a unix machine and the SQL servers are on a windows server.
    Please help!
    J

    I am monitoring two SQL Server via Enterprise Manager as in Microsoft's SQL Server?

  • Connection to the Internet via LT2P

    I need to connect my airport express to the Internet via VPN (LT2P). How am I able to do it?) looking forward to find out an answer ;)

    Google wifi standards for full detaisl
    in short b g n are simply oldest to newest    b oldest n newest ieee (Institute of Electrical and Electronic Engineers ) defined standards   main advantage of an should be greater range and speed
    the hub however is not fully n and hub2 a have poor range on n I find g better for the hub 2 a
    could be a security pass word problem on the new laptop
    If any post helps tick the star box on the left
    Just cause Im paranoid dont mean they are not out to get me

Maybe you are looking for

  • Vendor invoice and logistic invoice verification ?

    Good morning Guru, What is the difference between  "vendor invoice" in accounting module and "logistic invoice verification"  in MM module ? I know logistic invoice verification to validate between po, gr and invoice, but what vendor invoice for ? Th

  • Installing CPRXRPM Add-On on CRM 7.01

    Hi, Title: Installing CPRXRPM Add-On on CRM 7.01 We have a CRM System with 7.01 or 7.0 Ehp1 version with Basis 7.02 version. Now, we want to install Add-On CPRXRPM 5.00 on this system. In Marketplace, under Software Downloads - Installations and Upgr

  • CR2_original and JPG_original files

    What are CR2_original and JPG_original files?  What programs create them and/or read them?  Seem to have no use at all.  Tie up massive amounts disk space.  Any easy way of deleting them?

  • Displaying a field in a record as empty ...

    I would be very grateful if someone could help with the following query. I have a table (*tbl1*), which contains the following columns:- tbl1_unique_id (NUMBER); tbl1_title (VARCHAR2 (255)); tbl1_description (VARCHAR2 (4095)); tbl1_date (DATE). I hav

  • Contacts' Status Changes when I change mine

    I'm a newbie to Skype.  I mostly use the desktop version on a Windows 8.1 laptop but also have the Skype app on my Android phone.   The problem occurs on the laptop. When I sign into Skype and change my status to "online" the status of one of my cont